Skip to content

Commit

Permalink
Upload artifacts always
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky Gerritsen committed Nov 22, 2024
1 parent f58d156 commit f23f4fb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,22 @@ jobs:
grep "No submissions in queue" /opt/domjudge/judgehost/log/judge*-0.log && break
done
- name: dump the db
if: ${{ !cancelled() }}
run: mysqldump -uroot -proot domjudge > /tmp/db.sql
- name: Upload artifact for debugging
- name: Upload database dump for debugging
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v3
with:
name: DB-dump
path: /tmp/db.sql
- name: Upload all logs/artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: Logs
path: |
/var/log/nginx
/opt/domjudge/domserver/webapp/var/log/*.log
- name: Verifying submissions
shell: bash
run: |
Expand Down

0 comments on commit f23f4fb

Please sign in to comment.