1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-16 21:27:54 +00:00

feat: force-update

This commit is contained in:
Dulmandakh 2022-03-07 23:43:23 +08:00
parent c7c46bcb6d
commit 17151cf67e
4 changed files with 37 additions and 3 deletions

View file

@ -23,6 +23,7 @@ export function setInputs(input: CacheInput): void {
}
export function clearInputs(): void {
delete process.env[getInputName(Inputs.ForceUpdate)];
delete process.env[getInputName(Inputs.Path)];
delete process.env[getInputName(Inputs.Key)];
delete process.env[getInputName(Inputs.RestoreKeys)];