From dddd7ce07c7945e4e3a29b4e772bd5d4145e6a09 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 29 Nov 2022 08:26:52 +0000 Subject: [PATCH] added debug logs --- dist/restore-only/index.js | 5 +++++ src/restore-only.ts | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 2421a11..dd769dc 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -36767,11 +36767,16 @@ function runRestoreAction() { if (core.getInput(constants_1.Inputs.UploadChunkSize) != "") { core.warning(`${constants_1.Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`); } + core.info("before run"); yield (0, restore_1.default)(); + core.info("after run"); }); } +core.info("before runRestoreAction"); runRestoreAction(); +core.info("after runRestoreAction"); exports.default = runRestoreAction; +core.info("after export default runRestoreAction"); /***/ }), diff --git a/src/restore-only.ts b/src/restore-only.ts index cf4d5de..7e07946 100644 --- a/src/restore-only.ts +++ b/src/restore-only.ts @@ -14,9 +14,15 @@ async function runRestoreAction(): Promise { `${Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored` ); } + core.info("before run"); await run(); + core.info("after run"); } +core.info("before runRestoreAction"); runRestoreAction(); +core.info("after runRestoreAction"); export default runRestoreAction; + +core.info("after export default runRestoreAction");