Skip to content

Commit

Permalink
ci: pc: fail build if non-zero exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Dec 5, 2023
1 parent 647a517 commit 138cf33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helpers/build_pc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ fi
# call the right make command, (the makefile should take care of platform-dependent stuff)
$MAKE_COMMAND

# fail if the build failed
if [ $? -ne 0 ]; then
echo "PC Build failed!"
exit 1
fi

resin_path="resin"

# package the binary into a zip, alongside assets
Expand Down

0 comments on commit 138cf33

Please sign in to comment.