diff --git a/.github/workflows/win-x64-build.yml b/.github/workflows/win-x64-build.yml index d5cc1ede9a..ca4dac62ee 100644 --- a/.github/workflows/win-x64-build.yml +++ b/.github/workflows/win-x64-build.yml @@ -84,6 +84,8 @@ jobs: run: | cd ${{ steps.strings.outputs.build-output-dir }}/bin/${{ env.CMAKE_BUILD_TYPE }} copy "${{ env.MYSQL_ROOT_DIR }}/lib/libmysql.dll" libmysql.dll + # mysql may depend on a different version of openssl so copy its dlls first (override later with openssl's own if same version) + Copy-Item -Path "${{ env.MYSQL_ROOT_DIR }}/bin/*" -Include libcrypto*,libssl* -Destination . Copy-Item -Path "${{ env.OPENSSL_ROOT_DIR }}/bin/*" -Include libcrypto*,libssl*,legacy* -Destination . - name: Check binaries