Apply workaround for earlyExit

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

No files matched your search

+2 -14
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);