Fixed check for previous errors.

This commit is contained in:
Patrick Lehmann
2025-02-28 22:40:25 +01:00
parent d6fc0efd47
commit befc59f22d

View File

@@ -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