3
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2024-12-05 00:39:32 +01:00

Update cache key for Elixir (#568)

This commit is contained in:
Wojtek Mach 2021-04-19 15:42:01 +02:00 committed by GitHub
parent 8d3f2fc3ce
commit 366e5ba022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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