ci: fix cache-nix-action, use new config syntax
All checks were successful
Flake checks / Check (pull_request) Successful in 2m46s
All checks were successful
Flake checks / Check (pull_request) Successful in 2m46s
This commit is contained in:
parent
46c7c9ecb1
commit
a0c6f0dc08
|
@ -27,17 +27,16 @@ jobs:
|
|||
uses: https://github.com/nix-community/cache-nix-action@v5
|
||||
id: nix-store-cache
|
||||
with:
|
||||
key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
|
||||
restore-keys: |
|
||||
primary-key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
|
||||
restore-prefixes-first-match: |
|
||||
cache-${{ runner.os }}-nix-store-
|
||||
|
||||
gc-linux: true
|
||||
gc-max-store-size-linux: 10000000000
|
||||
|
||||
purge-caches: true
|
||||
purge-keys: cache-${{ runner.os }}-nix-store-
|
||||
purge-created: true
|
||||
purge-created-max-age: 42
|
||||
purge: true
|
||||
purge-prefixes: cache-${{ runner.os }}-nix-store-
|
||||
purge-created: 42
|
||||
|
||||
- name: Prepare cachix
|
||||
uses: https://github.com/cachix/cachix-action@v14
|
||||
|
|
Loading…
Reference in a new issue