mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-07 18:35:46 +00:00
Merge branch 'main' into neo-cache-service
This commit is contained in:
commit
7cd4aa68d3
17 changed files with 191 additions and 127 deletions
|
@ -50,7 +50,9 @@ export async function restoreImpl(
|
|||
);
|
||||
|
||||
if (!cacheKey) {
|
||||
core.setOutput(Outputs.CacheHit, false.toString());
|
||||
// `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}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue