3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-23 03:45:31 +00:00
This commit is contained in:
Sankalp Kotewar 2022-11-29 09:51:53 +00:00 committed by GitHub
parent ab0e7714ce
commit af1210e2a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 105 additions and 75 deletions

7
src/restore-step.ts Normal file
View file

@ -0,0 +1,7 @@
import restore from "./restore";
async function runRestoreStep(): Promise<void> {
await restore();
}
runRestoreStep();

View file

@ -76,6 +76,4 @@ async function run(): Promise<void> {
}
}
// run();
export default run;

View file

@ -1,7 +1,7 @@
import * as core from "@actions/core";
import { Inputs } from "./constants";
import restore from "./restore";
import { Inputs } from "../constants";
import restore from "../restore";
async function runRestoreAction(): Promise<void> {
if (core.getInput(Inputs.SaveOnAnyFailure) != "") {