mirror of
https://github.com/actions/cache.git
synced 2024-11-26 21:49:01 +00:00
Improve Haskell example
as proposed in https://github.com/actions/cache/issues/555
This commit is contained in:
parent
f7a7367bb2
commit
4e8aa1cc93
@ -168,8 +168,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
|
|||||||
~/.cabal/packages
|
~/.cabal/packages
|
||||||
~/.cabal/store
|
~/.cabal/store
|
||||||
dist-newstyle
|
dist-newstyle
|
||||||
key: ${{ runner.os }}-${{ matrix.ghc }}
|
key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
|
||||||
```
|
restore-keys: cabal-${{ runner.os }}-${{ matrix.ghc }}-```
|
||||||
|
|
||||||
## Java - Gradle
|
## Java - Gradle
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user