Skip to content

Commit 6a67168

Browse files
committed
Try to better account for authentication plugins
1 parent a422f6f commit 6a67168

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/reusable-phpunit-tests-v4.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ jobs:
127127
--health-interval="30s"
128128
--health-timeout="10s"
129129
--health-retries="5"
130+
${{ inputs.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), inputs.php ) && inputs.db-version == '8.4' && '--authentication-policy=mysql_native_password' || '' }}
131+
${{ inputs.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), inputs.php ) && inputs.db-version != '8.4' && '--default-authentication-plugin=mysql_native_password' || '' }}
130132
131133
steps:
132134
- name: Checkout repository

0 commit comments

Comments
 (0)