mirror of
https://github.com/actions/cache.git
synced 2026-01-14 17:43:06 +08:00
Compare commits
2 Commits
8c61cd1e07
...
7ec0261147
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ec0261147 | ||
|
|
b8dd3ecee2 |
@ -244,15 +244,15 @@ steps:
|
||||
|
||||
## Haskell - Cabal
|
||||
|
||||
We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies.
|
||||
We cache the elements of the Cabal store.
|
||||
|
||||
```yaml
|
||||
- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cabal/packages
|
||||
~/.cabal/store
|
||||
~/.cache/cabal/packages
|
||||
~/.local/state/cabal
|
||||
dist-newstyle
|
||||
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
|
||||
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user