mirror of
https://github.com/actions/cache.git
synced 2025-07-07 20:42:53 +00:00
Fix save-always/post-if with an output
This commit is contained in:
parent
0c45773b62
commit
7214f3c546
6 changed files with 65 additions and 16 deletions
|
@ -13,6 +13,8 @@ export async function restoreImpl(
|
|||
stateProvider: IStateProvider,
|
||||
earlyExit?: boolean | undefined
|
||||
): Promise<string | undefined> {
|
||||
core.setOutput(Outputs.SaveAlways, core.getInput(Inputs.SaveAlways));
|
||||
|
||||
try {
|
||||
if (!utils.isCacheFeatureAvailable()) {
|
||||
core.setOutput(Outputs.CacheHit, "false");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue