1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-27 22:49:17 +01:00

Formatted document

This commit is contained in:
Sankalp Kotewar 2022-11-30 08:30:16 +00:00 committed by GitHub
parent 2c9fb32186
commit 6e2c6a5916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,8 @@ export function setInputs(input: CacheInput): void {
setInput(Inputs.FailOnCacheMiss, "false");
input.restoreKeys &&
setInput(Inputs.RestoreKeys, input.restoreKeys.join("\n"));
input.strictRestore && setInput(Inputs.FailOnCacheMiss, input.strictRestore);
input.strictRestore &&
setInput(Inputs.FailOnCacheMiss, input.strictRestore);
input.saveOnAnyFailure &&
setInput(Inputs.SaveOnAnyFailure, input.saveOnAnyFailure);
}