Display content
This commit is contained in:
parent
38e9e1525a
commit
6795b3f28e
|
@ -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) {
|
||||
|
|
|
@ -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 >
|
||||
|
|
Loading…
Reference in New Issue
Block a user