mirror of
https://github.com/actions/cache.git
synced 2026-08-22 08:23:01 +00:00
Merge 830f24e4d86496f2b67fb255fee31df584f23d00 into 3edfce9056124e459a23f683a21433670d47daca
This commit is contained in:
commit
f44784af40
@ -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…
x
Reference in New Issue
Block a user