Split OpenSSL step

This commit is contained in:
txtsd 2022-02-10 20:58:31 +05:30
parent 3eee38fedd
commit eb692c2ee9
No known key found for this signature in database
GPG Key ID: 000F85679D4B6B53

View File

@ -48,6 +48,13 @@ jobs:
run: | run: |
choco install strawberryperl -y --force --x86 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 - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -141,12 +148,9 @@ jobs:
run: | run: |
windeployqt "${{ env.INSTALL_DIR }}/polymc.exe" windeployqt "${{ env.INSTALL_DIR }}/polymc.exe"
- name: Install OpenSSL libs - name: Install OpenSSL libs on Windows
if: runner.os == 'Windows' if: runner.os == 'Windows'
run: | 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\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 }}\" copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x86\bin\libcrypto-1_1.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"