Skip to content

Commit

Permalink
delete more than gian action
Browse files Browse the repository at this point in the history
  • Loading branch information
as6325400 committed Oct 20, 2024
1 parent abed9ea commit 82b769f
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/database-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Wait and Import Database
run: |
apt-get update
apt-get install -y default-mysql-client
while ! mysqladmin ping -h"sqlserver" -u"root" -p"root" --silent; do
echo "Waiting for database connection..."
sleep 2
done
mysql -hsqlserver -u"root" -p"root" < .github/jobs/data/dj733.sql
run: mysql -hsqlserver -u"root" -p"root" < .github/jobs/data/dj733.sql
- name: Install DOMjudge
run: .github/jobs/baseinstall.sh default upgrade
- name: Check for Errors in the Upgrade
run: |
mysql -hsqlserver -u"root" -p"root" -e "SHOW TABLES FROM domjudge;"
run: mysql -hsqlserver -u"root" -p"root" -e "SHOW TABLES FROM domjudge;"

0 comments on commit 82b769f

Please sign in to comment.