using args

This commit is contained in:
Naveenraj M
2020-03-30 03:51:35 +05:30
parent 1ff3b59df3
commit e9c1abc0c0
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ function run() {
}
};
options.cwd = '/github/home/rpmbuild/SRPMS/';
yield exec.exec('ls', options);
yield exec.exec('ls', ['-C'], options);
core.setOutput("source_rpm_path", `/github/home/rpmbuild/SRPMS/${myOutput}`); // make option to upload source rpm
}
catch (error) {

View File

@ -74,7 +74,7 @@ async function run() {
};
options.cwd = '/github/home/rpmbuild/SRPMS/';
await exec.exec('ls', options);
await exec.exec('ls', [ '-C' ], options);
core.setOutput("source_rpm_path", `/github/home/rpmbuild/SRPMS/${myOutput}`); // make option to upload source rpm