mirror of
https://github.com/actions/cache.git
synced 2026-06-29 08:38:56 +00:00
Merge 830f24e4d8 into 2c8a9bd745
This commit is contained in:
commit
433a70d856
@ -238,7 +238,7 @@ Case 2: Where the user would want to re-evaluate the key
|
||||
```yaml
|
||||
uses: actions/cache/save@v6
|
||||
with:
|
||||
key: npm-cache-${{hashfiles(package-lock.json)}}
|
||||
key: cache-${{ hashFiles('**/lockfiles') }}
|
||||
```
|
||||
|
||||
### Saving cache even if the build fails
|
||||
|
||||
Loading…
Reference in New Issue
Block a user