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:
parent
2c9fb32186
commit
6e2c6a5916
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ export function setInputs(input: CacheInput): void {
|
||||||
setInput(Inputs.FailOnCacheMiss, "false");
|
setInput(Inputs.FailOnCacheMiss, "false");
|
||||||
input.restoreKeys &&
|
input.restoreKeys &&
|
||||||
setInput(Inputs.RestoreKeys, input.restoreKeys.join("\n"));
|
setInput(Inputs.RestoreKeys, input.restoreKeys.join("\n"));
|
||||||
input.strictRestore && setInput(Inputs.FailOnCacheMiss, input.strictRestore);
|
input.strictRestore &&
|
||||||
|
setInput(Inputs.FailOnCacheMiss, input.strictRestore);
|
||||||
input.saveOnAnyFailure &&
|
input.saveOnAnyFailure &&
|
||||||
setInput(Inputs.SaveOnAnyFailure, input.saveOnAnyFailure);
|
setInput(Inputs.SaveOnAnyFailure, input.saveOnAnyFailure);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue