Skip to content

Commit

Permalink
ci: useDaemon to false when not pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi authored Dec 2, 2024
1 parent 38e04b5 commit 8700347
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ jobs:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with: { name: pac-nix, authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}', skipPush: "${{ github.ref != 'refs/heads/main' }}" }
with:
name: pac-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: "${{ github.ref != 'refs/heads/main' }}" }
useDaemon: "${{ github.ref == 'refs/heads/main' }}" }

- name: Apply staged patch commits
if: ${{ inputs.patches-b64 }}
Expand Down

0 comments on commit 8700347

Please sign in to comment.