Skip to content

Commit 0d929c0

Browse files
committed
Debug GitHub Actions error
1 parent 09ab6a5 commit 0d929c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/webstandard.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ jobs:
5454
run: .github/jobs/baseinstall.sh ${{ matrix.role }}
5555
- name: Run webstandard tests (W3C, WCAG)
5656
run: .github/jobs/webstandard.sh ${{ matrix.test }} ${{ matrix.role }}
57+
- name: dump the db
58+
if: ${{ !cancelled() }}
59+
run: mysqldump -uroot -proot --quick --max_allowed_packet=1024M domjudge > /tmp/db.sql
60+
- name: Upload database dump for debugging
61+
if: ${{ !cancelled() }}
62+
uses: actions/upload-artifact@v4
63+
with:
64+
name: DB-dump
65+
path: /tmp/db.sql
5766
- name: Upload all logs/artifacts
5867
if: ${{ !cancelled() }}
5968
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)