3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-02-09 20:30:54 +00:00
This commit is contained in:
Madison Swain-Bowden 2026-02-04 19:52:38 +00:00 committed by GitHub
commit 2fc9f15a9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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