mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 00:21:00 -05:00
show the full status when a test run fails
This commit is contained in:
parent
e5d2e4abe0
commit
5a8583b781
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue