Skip to content

Commit

Permalink
fixup! ci: Replace actions cache for macos build job with smart cachi…
Browse files Browse the repository at this point in the history
…x lookup
  • Loading branch information
wolfgangwalther committed Feb 25, 2024
1 parent a3448c3 commit 5e9595a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ jobs:
with:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Dry run
run: |
nix-build --dry-run 2>&1
- name: Dry run + sed
run: |
nix-build --dry-run 2>&1 \
| sed -e '1,/derivations will be built:$/d' \
| sed -n -e '/paths will be fetched/!p;//q'
- name: Build everything
run: |
# The --dry-run will give us a list of derivations to download from cachix and
Expand Down

0 comments on commit 5e9595a

Please sign in to comment.