mirror of
https://github.com/actions/cache.git
synced 2025-03-13 11:47:00 +00:00
Update cache key for Elixir
This commit is contained in:
parent
8d3f2fc3ce
commit
12c29d99a5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue