ci: revert cache-nix-action to version 4.0.3
Flake checks / Check (pull_request) Successful in 22m51s Details

teutat3s 2024-04-23 12:03:16 +02:00
parent 80863ad74a
commit 0ae66e083d
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
1 changed files with 7 additions and 7 deletions

View File

@ -24,20 +24,20 @@ jobs:
echo "hash=$(md5sum flake.lock | awk '{print $1}')" >> $GITHUB_OUTPUT
- name: Restore and cache Nix store
uses: https://github.com/nix-community/cache-nix-action@v5
uses: https://github.com/nix-community/cache-nix-action@v4.0.3
id: nix-store-cache
with:
primary-key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
restore-prefixes-first-match: |
key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
restore-keys: |
cache-${{ runner.os }}-nix-store-
gc-linux: true
gc-max-store-size-linux: 10000000000
purge: true
purge-prefixes: cache-${{ runner.os }}-nix-store-
purge-created: 42
purge-primary-key: never
purge-caches: true
purge-key: cache-${{ runner.os }}-nix-store-
purge-created: true
purge-created-max-age: 42
- name: Prepare cachix
uses: https://github.com/cachix/cachix-action@v14