We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eba763 commit bd7a497Copy full SHA for bd7a497
.github/workflows/build-pull-request.yml
@@ -122,3 +122,12 @@ jobs:
122
# Run the build_file function in parallel for each project to be built
123
# Halt the execution if any of the build_file invocations fail
124
parallel --keep-order --halt-on-error 2 build_file ::: "${apps_to_build[@]}"
125
+
126
+ # Check the exit status of parallel
127
+ parallel_exit=$?
128
129
+ # If parallel failed, make sure the workflow fails too
130
+ if [ $parallel_exit -ne 0 ]; then
131
+ echo "::error::One or more builds failed. See error details above."
132
+ exit $parallel_exit
133
+ fi
0 commit comments