mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 18:24:50 +03:00
nix-ros-build-action: save 100 lines of log
This commit is contained in:
parent
06845bb589
commit
6bac320ad0
2 changed files with 2 additions and 2 deletions
|
@ -1226,7 +1226,7 @@ class PackageSet {
|
|||
this.failedPackages.set(drvPath, attr);
|
||||
core.debug(`${attr} (${drvPath}) failed to build`);
|
||||
// Get last 10 lines of stderr
|
||||
const message = e.stderr.split('\n').slice(-10).join("\n");
|
||||
const message = e.stderr.split('\n').slice(-100).join("\n");
|
||||
return {
|
||||
status: 5 /* BUILD_FAILURE */,
|
||||
attr, drvPath, message
|
||||
|
|
|
@ -120,7 +120,7 @@ class PackageSet {
|
|||
this.failedPackages.set(drvPath, attr)
|
||||
core.debug(`${attr} (${drvPath}) failed to build`)
|
||||
// Get last 10 lines of stderr
|
||||
const message = e.stderr.split('\n').slice(-10).join("\n")
|
||||
const message = e.stderr.split('\n').slice(-100).join("\n")
|
||||
return {
|
||||
status: BuildStatus.BUILD_FAILURE,
|
||||
attr, drvPath, message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue