From fb4a5dce60f6da5dec7af827bb0f916445bd7437 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 29 Nov 2022 09:33:03 +0000 Subject: [PATCH] test --- dist/restore-only/index.js | 1 - src/restore-only.ts | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 7ae17f8..2a51f92 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -36775,7 +36775,6 @@ function runRestoreAction() { core.info("before runRestoreAction"); runRestoreAction(); core.info("after runRestoreAction"); -// export default runRestoreAction; core.info("after export default runRestoreAction"); diff --git a/src/restore-only.ts b/src/restore-only.ts index c08bdd0..6e8f64e 100644 --- a/src/restore-only.ts +++ b/src/restore-only.ts @@ -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 { if (core.getInput(Inputs.SaveOnAnyFailure) != "") { @@ -15,7 +15,7 @@ async function runRestoreAction(): Promise { ); } 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");