File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1515 image : mysql:8.0
1616 env :
1717 MYSQL_DATABASE : ${{ secrets.DB_NAME }}
18- MYSQL_ROOT_PASSWORD : ${{ secrets.DB_PASSWORD }}
18+ # MYSQL_ROOT_PASSWORD: ${{ secrets.DB_PASSWORD }}
1919 MYSQL_ALLOW_EMPTY_PASSWORD : yes
2020 ports :
2121 - 3306:3306
@@ -40,12 +40,12 @@ jobs:
4040 - name : Install MySQL client
4141 run : sudo apt-get update && sudo apt-get install -y mysql-client
4242
43- - name : wait for MySQL to be ready
43+ - name : Wait for MySQL
4444 run : |
45- until mysqladmin ping -h "$DB_HOST" -P "$DB_PORT" -u"$DB_USER" -p"$DB_PASSWORD" - -silent; do
46- echo "Waiting for MySQL to be ready ..."
45+ until mysqladmin ping -h "$DB_HOST" -P "$DB_PORT" -u"$DB_USER" --silent; do
46+ echo "Waiting for MySQL..."
4747 sleep 5
48- done
48+ done
4949
5050 - name : Install dependencies
5151 run : |
You can’t perform that action at this time.
0 commit comments