ci: fix cache-nix-action, use new config syntax
All checks were successful
Flake checks / Check (pull_request) Successful in 2m46s

This commit is contained in:
teutat3s 2024-04-21 20:17:03 +02:00
parent 46c7c9ecb1
commit a0c6f0dc08
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -27,17 +27,16 @@ jobs:
uses: https://github.com/nix-community/cache-nix-action@v5 uses: https://github.com/nix-community/cache-nix-action@v5
id: nix-store-cache id: nix-store-cache
with: with:
key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }} primary-key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
restore-keys: | restore-prefixes-first-match: |
cache-${{ runner.os }}-nix-store- cache-${{ runner.os }}-nix-store-
gc-linux: true gc-linux: true
gc-max-store-size-linux: 10000000000 gc-max-store-size-linux: 10000000000
purge-caches: true purge: true
purge-keys: cache-${{ runner.os }}-nix-store- purge-prefixes: cache-${{ runner.os }}-nix-store-
purge-created: true purge-created: 42
purge-created-max-age: 42
- name: Prepare cachix - name: Prepare cachix
uses: https://github.com/cachix/cachix-action@v14 uses: https://github.com/cachix/cachix-action@v14