Skip to content

Commit 366e5ba

Browse files
authored
Update cache key for Elixir (#568)
1 parent 8d3f2fc commit 366e5ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,14 @@ steps:
9797
```
9898

9999
## Elixir - Mix
100+
100101
```yaml
101102
- uses: actions/cache@v2
102103
with:
103104
path: |
104105
deps
105106
_build
106-
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
107+
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock')) }}
107108
restore-keys: |
108109
${{ runner.os }}-mix-
109110
```

0 commit comments

Comments
 (0)