Skip to content

Commit 82b769f

Browse files
committed
delete more than gian action
1 parent abed9ea commit 82b769f

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/database-upgrade.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,8 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- name: Wait and Import Database
31-
run: |
32-
apt-get update
33-
apt-get install -y default-mysql-client
34-
while ! mysqladmin ping -h"sqlserver" -u"root" -p"root" --silent; do
35-
echo "Waiting for database connection..."
36-
sleep 2
37-
done
38-
39-
mysql -hsqlserver -u"root" -p"root" < .github/jobs/data/dj733.sql
31+
run: mysql -hsqlserver -u"root" -p"root" < .github/jobs/data/dj733.sql
4032
- name: Install DOMjudge
4133
run: .github/jobs/baseinstall.sh default upgrade
4234
- name: Check for Errors in the Upgrade
43-
run: |
44-
mysql -hsqlserver -u"root" -p"root" -e "SHOW TABLES FROM domjudge;"
35+
run: mysql -hsqlserver -u"root" -p"root" -e "SHOW TABLES FROM domjudge;"

0 commit comments

Comments
 (0)