We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 449f224 commit c553cc8Copy full SHA for c553cc8
.github/workflows/unit-tests.yml
@@ -155,12 +155,13 @@ jobs:
155
local ok=0
156
local title="$1$FLIP"
157
local start=$(date -u +%s)
158
- OUTPUT=$(bash -xc "$2" 2>&1) || ok=1
+ OUTPUT=$(bash -xc "$2" 2>&1) || ok=$?
159
local end=$(date -u +%s)
160
161
if [[ $ok -ne 0 ]]; then
162
printf "\n%-70s%10s\n" $title $(($end-$start))s
163
echo "$OUTPUT"
164
+ echo "Job exited with: $ok"
165
echo -e "\n::error::KO $title\\n"
166
else
167
printf "::group::%-68s%10s\n" $title $(($end-$start))s
0 commit comments