show forgejo logs on failure()

This commit is contained in:
Earl Warren 2023-09-02 10:48:52 +02:00
parent 2d51a3fa48
commit 837e49d432
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 5 additions and 0 deletions

View file

@ -33,3 +33,6 @@ jobs:
export TOKEN="${{ steps.forgejo.outputs.token }}" export TOKEN="${{ steps.forgejo.outputs.token }}"
export VERBOSE=true export VERBOSE=true
testdata/forgejo-release-test.sh test_run testuser otherrepo testdata/forgejo-release-test.sh test_run testuser otherrepo
- if: failure()
run: docker logs forgejo

View file

@ -46,3 +46,5 @@ jobs:
verbose: true verbose: true
- run: | - run: |
diff -u upload-dir download-dir diff -u upload-dir download-dir
- if: failure()
run: docker logs forgejo