mirror of
https://github.com/actions/cache.git
synced 2024-12-27 12:03:03 +07:00
Formatted document
This commit is contained in:
parent
2c9fb32186
commit
6e2c6a5916
@ -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 New Issue
Block a user