mirror of
https://github.com/actions/cache.git
synced 2026-02-07 18:47:24 +00:00
Merge 830f24e4d8 into b7e8d49f17
This commit is contained in:
commit
2fc9f15a9b
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ Case 2: Where the user would want to re-evaluate the key
|
||||||
```yaml
|
```yaml
|
||||||
uses: actions/cache/save@v5
|
uses: actions/cache/save@v5
|
||||||
with:
|
with:
|
||||||
key: npm-cache-${{hashfiles(package-lock.json)}}
|
key: cache-${{ hashFiles('**/lockfiles') }}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Saving cache even if the build fails
|
### Saving cache even if the build fails
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue