Update @actions/cache to 5.1.0, add security overrides for undici and fast-xml-parser, update licenses

This commit is contained in:
HarithaVattikuti
2026-07-08 17:54:35 -05:00
parent 48b55a011b
commit 0f24784737
15 changed files with 979 additions and 24290 deletions
+5 -1
View File
@@ -62,7 +62,11 @@ const cachePackages = async (packageManager: string) => {
}
const cacheId = await cache.saveCache(cachePaths, primaryKey);
if (cacheId == -1) {
if (cacheId === -1) {
// saveCache returns -1 without throwing when the cache was not saved, e.g.
// a reserve collision or a read-only token (fork PR). @actions/cache has
// already logged the reason at the appropriate severity, so just trace it.
core.debug(`Cache was not saved for the key: ${primaryKey}`);
return;
}