mirror of
https://github.com/actions/cache.git
synced 2026-06-08 16:50:28 +08:00
Always output explicit "false" to prevent hijacking
This commit is contained in:
@@ -13,7 +13,10 @@ export async function restoreImpl(
|
||||
stateProvider: IStateProvider,
|
||||
earlyExit?: boolean | undefined
|
||||
): Promise<string | undefined> {
|
||||
core.setOutput(Outputs.SaveAlways, core.getInput(Inputs.SaveAlways));
|
||||
core.setOutput(
|
||||
Outputs.SaveAlways,
|
||||
core.getInput(Inputs.SaveAlways) || "false"
|
||||
);
|
||||
|
||||
try {
|
||||
if (!utils.isCacheFeatureAvailable()) {
|
||||
|
||||
Reference in New Issue
Block a user