mirror of
https://github.com/actions/cache.git
synced 2025-05-22 17:01:45 +00:00
Add Haskell Example
This commit is contained in:
parent
87c0185d27
commit
222ca60c6a
10
examples.md
10
examples.md
@ -9,6 +9,7 @@
|
||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
||||
- [Ruby - Gem](#ruby---gem)
|
||||
- [Go - Modules](#go---modules)
|
||||
- [Haskell - Cabal](#haskell---cabal)
|
||||
|
||||
## Node - npm
|
||||
|
||||
@ -108,3 +109,12 @@ uses: actions/cache@preview
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
```
|
||||
|
||||
## Haskell - Cabal
|
||||
|
||||
```yaml
|
||||
- uses: actions/cache@preview
|
||||
with:
|
||||
path: ~/.cabal/store
|
||||
key: ${{ runner.os }}-haskell-${{ matrix.ghc }}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user