nix-ros-build-action: save 100 lines of log

This commit is contained in:
Ben Wolsieffer 2021-04-17 21:39:41 -04:00
parent 06845bb589
commit 6bac320ad0
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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