mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-11 20:04:42 +00:00
trim inside scope
This commit is contained in:
@ -63,11 +63,10 @@ function run() {
|
||||
else {
|
||||
// the *entire* stdout and stderr (buffered)
|
||||
console.log(`stdout: ${stdout}`);
|
||||
myOutput = myOutput + `${stdout}`;
|
||||
myOutput = myOutput + `${stdout}`.trim();
|
||||
console.log(`stderr: ${stderr}`);
|
||||
}
|
||||
});
|
||||
myOutput = myOutput.trim();
|
||||
// only contents of workspace can be changed by actions and used by subsequent actions
|
||||
// So copy all generated rpms into workspace , and publish output path relative to workspace
|
||||
yield exec.exec(`mkdir -p rpmbuild/SRPMS`);
|
||||
|
@ -70,12 +70,11 @@ async function run() {
|
||||
} else {
|
||||
// the *entire* stdout and stderr (buffered)
|
||||
console.log(`stdout: ${stdout}`);
|
||||
myOutput = myOutput+`${stdout}`;
|
||||
myOutput = myOutput+`${stdout}`.trim();
|
||||
console.log(`stderr: ${stderr}`);
|
||||
}
|
||||
});
|
||||
|
||||
myOutput = myOutput.trim();
|
||||
|
||||
// only contents of workspace can be changed by actions and used by subsequent actions
|
||||
// So copy all generated rpms into workspace , and publish output path relative to workspace
|
||||
|
Reference in New Issue
Block a user