Skip to content

Commit

Permalink
Update cache key for Elixir (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojtek Mach authored and GitHub committed Apr 19, 2021
1 parent 8d3f2fc commit 366e5ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-
```
Expand Down

0 comments on commit 366e5ba

Please sign in to comment.