ci: revert cache-nix-action to v4
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.
This commit is contained in:
committed by
Wolfgang Walther
parent
071a3d436f
commit
411cf430ad
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user