await async func

This commit is contained in:
Naveenraj M
2020-03-29 17:31:46 +05:30
parent 98f4d25d9b
commit 932e1c461e

View File

@ -16,12 +16,12 @@ async function run() {
console.log(`We can even get context data, like the owner: ${owner}, repo: ${repo}, ref: ${ref}`); 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}`); console.log(`Tar Path for copy : ${tarBallPath}`);
const specFile = core.getInput('specFile'); 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/ // Get repo files from /github/workspace/
await exec.exec('ls -la /github/workspace'); await exec.exec('ls -la /github/workspace');