From eb692c2ee964d34c5aaa07f651e1f8bec3030a76 Mon Sep 17 00:00:00 2001 From: txtsd Date: Thu, 10 Feb 2022 20:58:31 +0530 Subject: [PATCH] Split OpenSSL step --- .github/workflows/build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 574c9c3e..5f1d398d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,13 @@ jobs: run: | choco install strawberryperl -y --force --x86 + - name: Download OpenSSL libs on Windows + if: runner.os == 'Windows' + run: | + python -m pip install --upgrade pip + python -m pip install aqtinstall==2.0.5 + python -m aqt install-tool -O "${{ github.workspace }}\Qt\" windows desktop tools_openssl_x86 + - name: Checkout uses: actions/checkout@v2 with: @@ -141,12 +148,9 @@ jobs: run: | windeployqt "${{ env.INSTALL_DIR }}/polymc.exe" - - name: Install OpenSSL libs + - name: Install OpenSSL libs on Windows if: runner.os == 'Windows' run: | - python -m pip install --upgrade pip - python -m pip install aqtinstall==2.0.5 - python -m aqt install-tool -O "${{ github.workspace }}\Qt\" windows desktop tools_openssl_x86 copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x86\bin\libssl-1_1.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\" copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x86\bin\libcrypto-1_1.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"