Generate the cache hash by flake.lock

This commit is contained in:
Thiago Kenji Okada
2022-07-08 20:02:52 +01:00
parent bcf03a7746
commit 50363ab85b

View File

@ -24,7 +24,7 @@ jobs:
id: cache-nix-store id: cache-nix-store
with: with:
path: nix-store.dump path: nix-store.dump
key: nix-store-${{ hashFiles('flake.*') }} key: nix-store-${{ hashFiles('flake.lock') }}
restore-keys: | restore-keys: |
nix-store- nix-store-
- name: Import /nix/store contents - name: Import /nix/store contents
@ -58,7 +58,7 @@ jobs:
id: cache-nix-store id: cache-nix-store
with: with:
path: nix-store.dump path: nix-store.dump
key: nix-store-${{ hashFiles('flake.*') }} key: nix-store-${{ hashFiles('flake.lock') }}
restore-keys: | restore-keys: |
nix-store- nix-store-
- name: Import /nix/store contents - name: Import /nix/store contents
@ -87,7 +87,7 @@ jobs:
id: cache-nix-store-emacsGit id: cache-nix-store-emacsGit
with: with:
path: nix-store.dump path: nix-store.dump
key: nix-store-emacsGit-${{ hashFiles('flake.*') }} key: nix-store-emacsGit-${{ hashFiles('flake.lock') }}
restore-keys: | restore-keys: |
nix-store-emacsGit- nix-store-emacsGit-
- name: Import /nix/store contents - name: Import /nix/store contents