Bump @actions/cache to v6.1.0 - handle cache write error due to RO token

This commit is contained in:
Jason Ginchereau committed 2026-06-23 13:13:25 -07:00
1 parent 2c8a9bd745
commit d8cd72f230
23 files changed
+26962 -3315

No files matched your search

+5 -1
View File
@@ -84,7 +84,11 @@ export async function saveOnlyRun(
try {
const cacheId = await saveImpl(new NullStateProvider());
if (cacheId === -1) {
core.warning(`Cache save failed.`);
// The toolkit's saveCache already logs the underlying reason at
// the appropriate severity (warning for most failures, info for
// benign concurrency races, error for 5xx). Avoid emitting a
// generic warning here that would duplicate or mask that signal.
core.debug(`Cache was not saved.`);
}
} catch (err) {
console.error(err);