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