Skip to content

Commit b99b637

Browse files
committed
attempt to fix Github Actions caching
1 parent 49f09ed commit b99b637

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nix-shell.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: Cache nix env take N+1
2222
uses: actions/[email protected]
2323
with:
24-
path: |
24+
path: /nix/store
2525
# See https://github.com/actions/cache/pull/726
26-
/nix/store/**
26+
# /nix/store/**
2727
# Missing something?
2828
# /nix/var/nix/*/*
2929
# /nix/var/nix/db/*
@@ -33,7 +33,7 @@ jobs:
3333
# !/nix/var/nix/gc.lock
3434
# !/nix/var/nix/db/big-lock
3535
# !/nix/var/nix/db/reserved
36-
key: ${{ runner.os }}-nix-store-${{ hashFiles('**') }}
36+
key: ${{ runner.os }}-nix-store-${{ hashFiles('/nix/store/**') }}
3737
restore-keys: ${{ runner.os }}-nix-store-
3838

3939
- uses: cachix/install-nix-action@v16

0 commit comments

Comments
 (0)