mirror of
https://code.forgejo.org/actions/cache.git
synced 2026-06-25 22:30:35 +00:00
Bump @actions/cache to v6.1.0 - handle cache write error due to RO token
This commit is contained in:
parent
2c8a9bd745
commit
d8cd72f230
23 changed files with 26962 additions and 3315 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue