mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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:
parent
8a838fbc0f
commit
42b6a19d3d
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user