mirror of
https://github.com/actions/cache.git
synced 2026-03-25 08:00:40 +00:00
Merge 830f24e4d86496f2b67fb255fee31df584f23d00 into 668228422ae6a00e4ad889ee87cd7109ec5666a7
This commit is contained in:
commit
5e9160c4db
@ -238,7 +238,7 @@ Case 2: Where the user would want to re-evaluate the key
|
||||
```yaml
|
||||
uses: actions/cache/save@v5
|
||||
with:
|
||||
key: npm-cache-${{hashfiles(package-lock.json)}}
|
||||
key: cache-${{ hashFiles('**/lockfiles') }}
|
||||
```
|
||||
|
||||
### Saving cache even if the build fails
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user