Skip to content

Commit ea9dc6a

Browse files
committed
[misc] add ssl
1 parent 1d0423e commit ea9dc6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
registry-password: ${{ matrix.db-type == 'enterprise' && secrets.ENTERPRISE_TOKEN || '' }}
7979
additional-conf: |
8080
${{ matrix.additional-conf || '' }}
81-
ssl-ca=/etc/mysql/conf.d/ca.crt
82-
ssl-cert=/etc/mysql/conf.d/server.crt
83-
ssl-key=/etc/mysql/conf.d/server.key
81+
${{ matrix.os == 'ubuntu-latest' && 'ssl-ca=/etc/mysql/conf.d/ca.crt' || '' }}
82+
${{ matrix.os == 'ubuntu-latest' && 'ssl-cert=/etc/mysql/conf.d/server.crt' || '' }}
83+
${{ matrix.os == 'ubuntu-latest' && 'ssl-key=/etc/mysql/conf.d/server.key' || '' }}
8484
conf-script-folder: ${{ github.workspace }}/.github/workflows/certs
8585
port: ${{ env.TEST_DB_PORT }}
8686

0 commit comments

Comments
 (0)