This commit is contained in:
Madison Swain-Bowden
2026-02-25 13:56:09 -08:00
committed by GitHub

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