File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ jobs:
110110 MYSQL_ROOT_PASSWORD : root
111111 ports :
112112 - 3306
113- options : --default-authentication-plugin="mysql_native_password" -- health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
113+ options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
114114
115115 steps :
116116 - name : Check out source code
@@ -150,6 +150,10 @@ jobs:
150150 if : steps.check_files.outputs.files_exists == 'true'
151151 run : COMPOSER_ROOT_VERSION=dev-master composer install --prefer-dist --no-progress --no-suggest
152152
153+ - name : Configure MySQL server
154+ if : steps.check_files.outputs.files_exists == 'true'
155+ run : echo -e '[mysqld]\ndefault-authentication-plugin=mysql_native_password' > "$HOME/.my.cnf"
156+
153157 - name : Start MySQL server
154158 if : steps.check_files.outputs.files_exists == 'true'
155159 run : sudo systemctl start mysql
You can’t perform that action at this time.
0 commit comments