1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-23 04:06:00 +01:00

Add Elixir Mix example (#42)

* Add Elixir Mix example

* Fix typo
This commit is contained in:
Ishizaka Tomoya 2019-11-04 12:44:06 +09:00 committed by Josh Gross
parent fe98aa6782
commit 8c4c641fa0

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-
```