mirror of
https://github.com/actions/cache.git
synced 2026-02-19 07:56:38 +00:00
Merge 830f24e4d8 into b7e8d49f17
This commit is contained in:
commit
2fc9f15a9b
@ -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 New Issue
Block a user