mirror of https://github.com/actions/cache.git
Update cache key for Elixir (#568)
parent
8d3f2fc3ce
commit
366e5ba022
|
@ -97,13 +97,14 @@ steps:
|
|||
```
|
||||
|
||||
## Elixir - Mix
|
||||
|
||||
```yaml
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
deps
|
||||
_build
|
||||
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
|
||||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock')) }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-mix-
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue