1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-23 12:36:01 +01:00
This commit is contained in:
Sankalp Kotewar 2022-11-29 09:33:03 +00:00 committed by GitHub
parent 71334c58b2
commit fb4a5dce60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -36775,7 +36775,6 @@ function runRestoreAction() {
core.info("before runRestoreAction");
runRestoreAction();
core.info("after runRestoreAction");
// export default runRestoreAction;
core.info("after export default runRestoreAction");

View file

@ -1,7 +1,7 @@
import * as core from "@actions/core";
import { Inputs } from "./constants";
import run from "./restore";
import restore from "./restore";
async function runRestoreAction(): Promise<void> {
if (core.getInput(Inputs.SaveOnAnyFailure) != "") {
@ -15,7 +15,7 @@ async function runRestoreAction(): Promise<void> {
);
}
core.info("before run");
await run();
await restore();
core.info("after run");
}
@ -23,6 +23,4 @@ core.info("before runRestoreAction");
runRestoreAction();
core.info("after runRestoreAction");
// export default runRestoreAction;
core.info("after export default runRestoreAction");