mirror of
https://github.com/actions/cache.git
synced 2024-11-15 16:33:50 +08: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/store
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user