3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-18 09:29:03 +00:00

Add Elixir Mix example

This commit is contained in:
ghostrick 2019-11-03 21:59:21 +09:00
parent 87c0185d27
commit eb19cb0c39

View file

@ -9,6 +9,7 @@
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
- [Ruby - Gem](#ruby---gem)
- [Go - Modules](#go---modules)
- [Elixir - Mix](#elixir---mix)
## Node - npm
@ -108,3 +109,13 @@ uses: actions/cache@preview
restore-keys: |
${{ runner.os }}-go-
```
## Elixir - Mix
```yaml
- uses: actions.cache@preview
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
```