This commit is contained in:
Madison Swain-Bowden 2026-06-23 08:54:07 -07:00 committed by GitHub
commit 433a70d856
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 ```yaml
uses: actions/cache/save@v6 uses: actions/cache/save@v6
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