Skip to content

Commit f23f4fb

Browse files
Upload artifacts always
1 parent f58d156 commit f23f4fb

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
@@ -73,12 +73,22 @@ jobs:
7373
grep "No submissions in queue" /opt/domjudge/judgehost/log/judge*-0.log && break
7474
done
7575
- name: dump the db
76+
if: ${{ !cancelled() }}
7677
run: mysqldump -uroot -proot domjudge > /tmp/db.sql
77-
- name: Upload artifact for debugging
78+
- name: Upload database dump for debugging
79+
if: ${{ !cancelled() }}
7880
uses: actions/upload-artifact@v3
7981
with:
8082
name: DB-dump
8183
path: /tmp/db.sql
84+
- name: Upload all logs/artifacts
85+
if: ${{ !cancelled() }}
86+
uses: actions/upload-artifact@v4
87+
with:
88+
name: Logs
89+
path: |
90+
/var/log/nginx
91+
/opt/domjudge/domserver/webapp/var/log/*.log
8292
- name: Verifying submissions
8393
shell: bash
8494
run: |

0 commit comments

Comments
 (0)