1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-06 08:32:53 +00:00
cache/src/save.ts
2024-11-04 18:35:14 +01:00

9 lines
195 B
TypeScript

import * as core from "@actions/core";
import { Inputs } from "./constants";
import { saveRun } from "./saveImpl";
const doSave = core.getInput(Inputs.Save);
if (doSave) {
saveRun(true);
}