Skip to content

Commit 0eee678

Browse files
Upload artifacts always
1 parent 5da3902 commit 0eee678

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/integration.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)