Skip to content

Commit df693c8

Browse files
committed
ci: fix cache keys
1 parent 7d474e9 commit df693c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545

4646
- uses: nix-community/cache-nix-action@v6
4747
with:
48-
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
49-
restore-prefixes-first-match: nix-${{ runner.os }}-
48+
primary-key: nix-${{ runner.os }}-${{ matrix.module }}-${{ matrix.target }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
49+
restore-prefixes-first-match: nix-${{ runner.os }}-${{ matrix.module }}-${{ matrix.target }}-
5050

5151
- name: build stable ${{ matrix.module }}
5252
if: matrix.target != 'unstable'

0 commit comments

Comments
 (0)