Fix wrong build result when single add-on build fails (#11522)
Fixes the issue that single add-on builds that fail are not marked as such in GitHub Actions. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
2
.github/scripts/maven-build
vendored
2
.github/scripts/maven-build
vendored
@@ -87,7 +87,9 @@ function build_addon() {
|
||||
echo "+ $mvn_command"
|
||||
echo
|
||||
|
||||
set -o pipefail # exit build with error when pipes fail
|
||||
$mvn_command 2>&1 | tee "$BUILD_LOG"
|
||||
exit $?
|
||||
}
|
||||
|
||||
function build_based_on_changes() {
|
||||
|
||||
Reference in New Issue
Block a user