no define

This commit is contained in:
Naveenraj M
2020-03-30 00:02:57 +05:30
parent bacc165fa2
commit 988866ee8e
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ function run() {
//await io.cp(tarBallPath, '/root/rpmbuild/SOURCES');
// Execute rpmbuild
try {
yield exec.exec(`rpmbuild --define -ba /github/home/rpmbuild/SPECS/cello.spec`);
yield exec.exec(`rpmbuild -ba /github/home/rpmbuild/SPECS/cello.spec`);
}
catch (err) {
core.setFailed(`action failed with error: ${err}`);

View File

@ -53,7 +53,7 @@ async function run() {
// Execute rpmbuild
try {
await exec.exec(
`rpmbuild --define -ba /github/home/rpmbuild/SPECS/cello.spec`
`rpmbuild -ba /github/home/rpmbuild/SPECS/cello.spec`
);
} catch (err) {
core.setFailed(`action failed with error: ${err}`);