Files
cache/src/saveOnly.ts

16 lines
335 B
TypeScript
Raw Normal View History

2022-12-20 16:15:42 +00:00
import * as core from "@actions/core";
2022-12-06 18:26:58 +00:00
import saveImpl from "./saveImpl";
import { NullStateProvider } from "./stateProvider";
async function run(): Promise<void> {
2022-12-20 16:15:42 +00:00
const cacheId = await saveImpl(new NullStateProvider());
if (cacheId === -1) {
core.warning(`Cache save failed.`);
}
2022-12-06 18:26:58 +00:00
}
run();
export default run;