Apply workaround for earlyExit

This commit is contained in:
Tatyana Kostromskaya 2024-01-10 15:36:58 +00:00
parent 3185ecfd61
commit 01229828ff
8 changed files with 192 additions and 144 deletions

View file

@ -1,15 +1,3 @@
import * as core from "@actions/core";
import { saveOnlyRun } from "./saveImpl";
import saveImpl from "./saveImpl";
import { NullStateProvider } from "./stateProvider";
async function run(): Promise<void> {
const cacheId = await saveImpl(new NullStateProvider());
if (cacheId === -1) {
core.warning(`Cache save failed.`);
}
}
run();
export default run;
saveOnlyRun(true);