From c41ba66ab590589af6c4416a9c053273bb43dee2 Mon Sep 17 00:00:00 2001 From: Jin Jiu Date: Sat, 20 Jul 2024 23:20:24 +0800 Subject: [PATCH] Fixed the failure issue of MySQL test cases in Windows environment. --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c5aba16..44c6027 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -101,6 +101,8 @@ jobs: Start-Process msiexec.exe -ArgumentList '/i', 'mysql-connector.msi', '/quiet', '/norestart' -NoNewWindow -Wait - name: Set MySQLCLIENT_LIB_DIR run: echo "MYSQLCLIENT_LIB_DIR=C:\Program Files\MySQL\MySQL Connector C 6.1\lib\vs14" | Out-File -FilePath $env:GITHUB_ENV -Append + - name: Set MYSQLCLIENT_VERSION + run: echo "MYSQLCLIENT_VERSION=8.4.0" | Out-File -FilePath $env:GITHUB_ENV -Append - uses: shogo82148/actions-setup-mysql@v1 with: mysql-version: "5.7"