Skip to content

Commit

Permalink
ci: revert cache-nix-action to v4
Browse files Browse the repository at this point in the history
Upgrading c-n-action seems to break restoring Nix store rendering the cache useless (nix-community/cache-nix-action#27). This rolls the change back.
  • Loading branch information
develop7 authored and wolfgangwalther committed Jan 26, 2024
1 parent 071a3d4 commit 411cf43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ runs:
with:
nix_version: '2.13.6'
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5.0.1
uses: nix-community/cache-nix-action@v4.0.3
with:
primary-key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }}
restore-prefixes-first-match: |
key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }}
restore-keys: |
cache-nix-${{ runner.os }}-common-
- uses: cachix/cachix-action@v14
with:
Expand Down

0 comments on commit 411cf43

Please sign in to comment.