on: push env: CACHIX_NAME: git-fnordig jobs: Publish: runs-on: flakes-action steps: - uses: actions/checkout@v3 name: Checkout - name: Build run: | export CACHIX_AUTH_TOKEN=${{secrets.CACHIX_AUTH_TOKEN}} nix develop --command bash -c 'cachix use $CACHIX_NAME && cachix watch-exec $CACHIX_NAME nix build'