mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 12:13:51 +00:00
await async func
This commit is contained in:
@ -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');
|
||||||
|
Reference in New Issue
Block a user