fix: merge remote-tracking branch 'upstream/main'

This commit is contained in:
Matthew Matl 2025-07-23 14:58:18 -07:00
commit 356864ca69
No known key found for this signature in database
55 changed files with 17691 additions and 4478 deletions

View file

@ -51,6 +51,9 @@ export async function restoreImpl(
);
if (!cacheKey) {
// `cache-hit` is intentionally not set to `false` here to preserve existing behavior
// See https://github.com/actions/cache/issues/1466
if (failOnCacheMiss) {
throw new Error(
`Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: ${primaryKey}`
@ -62,7 +65,6 @@ export async function restoreImpl(
...restoreKeys
].join(", ")}`
);
return;
}