File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,22 @@ jobs:
7878 grep "No submissions in queue" /opt/domjudge/judgehost/log/judge*-0.log && break
7979 done
8080 - name : dump the db
81+ if : ${{ !cancelled() }}
8182 run : mysqldump -uroot -proot domjudge > /tmp/db.sql
82- - name : Upload artifact for debugging
83+ - name : Upload database dump for debugging
84+ if : ${{ !cancelled() }}
8385 uses : actions/upload-artifact@v3
8486 with :
8587 name : DB-dump
8688 path : /tmp/db.sql
89+ - name : Upload all logs/artifacts
90+ if : ${{ !cancelled() }}
91+ uses : actions/upload-artifact@v4
92+ with :
93+ name : ${{ matrix.role }}-${{ matrix.test }}-${{ matrix.db }}-logs
94+ path : |
95+ /var/log/nginx
96+ /opt/domjudge/domserver/webapp/var/log/*.log
8797 - name : Verifying submissions
8898 shell : bash
8999 run : |
You can’t perform that action at this time.
0 commit comments