mirror of https://github.com/actions/cache.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
2 years ago
|
import * as core from "@actions/core";
|
||
|
|
||
|
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;
|