exit on error in ci helper

This commit is contained in:
Siyuan Miao 2025-09-25 22:26:03 +00:00 committed by Siyuan
parent 684f354dd4
commit 7573fb1e51
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
SCRIPT_PATH=$(realpath "$(dirname $(realpath "${BASH_SOURCE[0]}"))")
source ${SCRIPT_PATH}/build_utils.sh
set -e
# check if GITHUB_ENV is set
if [ -z "$GITHUB_ENV" ]; then
echo "GITHUB_ENV is not set"