1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-18 17:36:16 +00:00

show the full status when a test run fails

This commit is contained in:
Earl Warren 2023-06-24 10:28:04 +02:00
parent e5d2e4abe0
commit 5a8583b781
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -77,6 +77,7 @@ function wait_success() {
done
if ! test "$(check_status "$url" "$repo" "$sha")" = "success" ; then
test "$FORGEJO_RUNNER_LOGS" && cat $FORGEJO_RUNNER_LOGS
api GET $url repos/$repo/commits/$sha/status | jq .
return 1
fi
}