mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Fixed check for previous errors.
This commit is contained in:
4
.github/workflows/NightlyRelease.yml
vendored
4
.github/workflows/NightlyRelease.yml
vendored
@@ -497,8 +497,8 @@ jobs:
|
|||||||
tree -pash -L 3 .
|
tree -pash -L 3 .
|
||||||
printf "::endgroup::\n"
|
printf "::endgroup::\n"
|
||||||
|
|
||||||
if [[ $ERROR -ne 0 ]]; then
|
if [[ $ERRORS -ne 0 ]]; then
|
||||||
printf "%s\n" "${ANSI_LIGHT_RED}Errors detected in previous steps.${ANSI_NOCOLOR}"
|
printf "%s\n" "${ANSI_LIGHT_RED}${ERRORS} errors detected in previous steps.${ANSI_NOCOLOR}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user