From 932e1c461edbf6f52fd8555440ac35f16b7e0bca Mon Sep 17 00:00:00 2001 From: Naveenraj M Date: Sun, 29 Mar 2020 17:31:46 +0530 Subject: [PATCH] await async func --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1d4895e..bd879c4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,12 +16,12 @@ async function run() { console.log(`We can even get context data, like the owner: ${owner}, repo: ${repo}, ref: ${ref}`); - const tarBallPath = download_tar(owner, repo, ref); + const tarBallPath = await download_tar(owner, repo, ref); console.log(`Tar Path for copy : ${tarBallPath}`); const specFile = core.getInput('specFile'); - core.debug(`Hello ${specFile} from inside a container`); + console.log(`Hello ${specFile} from inside a container`); // Get repo files from /github/workspace/ await exec.exec('ls -la /github/workspace');