Skip to content

feat(bar): add smart autohide option #2338

feat(bar): add smart autohide option

feat(bar): add smart autohide option #2338

Workflow file for this run

name: cachix
on:
push:
branches:
- main
workflow_run:
workflows: ["update flake"]
types:
- completed
branches:
- main
workflow_dispatch:
jobs:
cache:
strategy:
matrix:
runner: [ubuntu-latest, ubuntu-24.04-arm]
target: [default, cuda]
runs-on: ${{ matrix.runner }}
if: ${{ github.repository == 'noctalia-dev/noctalia' }}
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v17
with:
name: "${{ secrets.CACHIX_CACHE_NAME }}"
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix build .#${{ matrix.target }} --fallback
push:
needs: cache
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: push to cachix branch
run: |
git fetch origin main origin/cachix 2>/dev/null || true
git merge-base --is-ancestor "${{ github.sha }}" origin/main || exit 0
git merge-base --is-ancestor "${{ github.sha }}" origin/cachix 2>/dev/null && exit 0
git push origin "${{ github.sha }}":refs/heads/cachix --force