Skip to content

Commit a847810

Browse files
Merge pull request #26 from jberthold/ci-dont-share-cc-cache
CI: don't share cache between C compilers
2 parents 58b5a6d + fbaca1e commit a847810

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cabal-in-nix-shell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
~/.cabal/packages
4343
~/.cabal/store
4444
dist-newstyle
45-
key: ${{ runner.os }}-${{ matrix.os }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}--${{ matrix.ghc }}
46-
restore-keys: ${{ runner.os }}-${{ matrix.os }}-
45+
key: ${{ runner.os }}-${{ matrix.os }}-${{ matrix.ghc }}-${{ matrix.cc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
46+
restore-keys: ${{ runner.os }}-${{ matrix.os }}-${{ matrix.ghc }}-${{ matrix.cc }}-
4747

4848
# Make nix-shell use specific Bash version.
4949
# Cf. https://nixos.org/manual/nix/stable/command-ref/nix-shell#environment-variables.

0 commit comments

Comments
 (0)