mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
Always output explicit "false" to prevent hijacking
This commit is contained in:
parent
7214f3c546
commit
f04cc738d7
4 changed files with 17 additions and 14 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue