File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -250,14 +250,22 @@ jobs:
250250 run : |
251251 export TARGET_WORKSPACE="$(pwd)/projects"
252252 export HOST="${{ matrix.build.toolchain }}"
253- source docs/env.sh
253+ set -e
254+ if ! source docs/env.sh; then
255+ echo "env.sh failed with exit code $?"
256+ exit 1
257+ fi
254258 make -j"$(nproc)" TARGET=${{ matrix.build.frontend }}
255259
256260 - name : Make package
257261 run : |
258262 export TARGET_WORKSPACE="$(pwd)/projects"
259263 export HOST="${{ matrix.build.toolchain }}"
260- source docs/env.sh
264+ set -e
265+ if ! source docs/env.sh; then
266+ echo "env.sh failed with exit code $?"
267+ exit 1
268+ fi
261269 make package TARGET=${{ matrix.build.frontend }}
262270
263271 # Can't avoid `upload-artifact` zipping the package
You can’t perform that action at this time.
0 commit comments