mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 20:23:50 +00:00
no define
This commit is contained in:
@ -46,7 +46,7 @@ function run() {
|
|||||||
//await io.cp(tarBallPath, '/root/rpmbuild/SOURCES');
|
//await io.cp(tarBallPath, '/root/rpmbuild/SOURCES');
|
||||||
// Execute rpmbuild
|
// Execute rpmbuild
|
||||||
try {
|
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) {
|
catch (err) {
|
||||||
core.setFailed(`action failed with error: ${err}`);
|
core.setFailed(`action failed with error: ${err}`);
|
||||||
|
@ -53,7 +53,7 @@ async function run() {
|
|||||||
// Execute rpmbuild
|
// Execute rpmbuild
|
||||||
try {
|
try {
|
||||||
await exec.exec(
|
await exec.exec(
|
||||||
`rpmbuild --define -ba /github/home/rpmbuild/SPECS/cello.spec`
|
`rpmbuild -ba /github/home/rpmbuild/SPECS/cello.spec`
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
core.setFailed(`action failed with error: ${err}`);
|
core.setFailed(`action failed with error: ${err}`);
|
||||||
|
Reference in New Issue
Block a user