diff --git a/.github/workflows/semver_checks.yml b/.github/workflows/semver_checks.yml index 994f948ee9..6ac346308e 100644 --- a/.github/workflows/semver_checks.yml +++ b/.github/workflows/semver_checks.yml @@ -66,9 +66,8 @@ jobs: run: | set -e echo "output<> $GITHUB_OUTPUT - # Weird sed strip ANSI colors from output - exitcode=0 - (make semver-rev rev="$PR_BASE" || exitcode=$?) |& tee -a $GITHUB_OUTPUT + make semver-rev rev="$PR_BASE" |& tee -a $GITHUB_OUTPUT + exitcode=${PIPESTATUS[0]} echo "Semver checks exitcode: " $exitcode echo "SEMVER_STDOUT_EOF" >> $GITHUB_OUTPUT echo "exitcode=$exitcode" >> $GITHUB_OUTPUT