diff --git a/lib/main.js b/lib/main.js index 1a66444..b29b1e4 100644 --- a/lib/main.js +++ b/lib/main.js @@ -62,6 +62,7 @@ function run() { process.chdir(tmpdir); core.info(`🏃 Copying ${path.join(currentdir, build_dir)} contents to ${tmpdir}`); fs_extra_1.copySync(path.join(currentdir, build_dir), tmpdir); + yield exec.exec('ls', ['-al']); const remote_branch_exists = child_process.execSync(`git ls-remote --heads ${remote_url} ${target_branch}`, { encoding: 'utf8' }).trim().length > 0; if (remote_branch_exists) { diff --git a/src/main.ts b/src/main.ts index 62b312a..9149316 100644 --- a/src/main.ts +++ b/src/main.ts @@ -47,6 +47,7 @@ async function run() { core.info(`🏃 Copying ${path.join(currentdir, build_dir)} contents to ${tmpdir}`); copySync(path.join(currentdir, build_dir), tmpdir); + await exec.exec('ls', ['-al']); const remote_branch_exists = child_process.execSync(`git ls-remote --heads ${remote_url} ${target_branch}`, {encoding: 'utf8'}).trim().length >