From 039f16e4d4cd2b1b88f0eb73f5000b1166523567 Mon Sep 17 00:00:00 2001 From: Nova Date: Thu, 16 Oct 2025 01:47:53 +0330 Subject: [PATCH] Fix openSSL install --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d866954..4c75969 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,8 +152,15 @@ jobs: with: path: qt6/build key: QtStaticCache-${{ matrix.platform }}-${{ matrix.target }}-Qt${{ matrix.qt_version }}-${{ hashFiles('script/build_qt_static_windows.bat') }} + - name: OpenSSL Cache + id: cache-openssl + if: matrix.platform == 'windows-latest' && matrix.qt_version != '6.2.12' + uses: actions/cache@v4.2.3 + with: + path: ${{ env.VCPKG_ROOT }}/installed/x64-mingw-static + key: OpenSSLCache-${{ matrix.platform }}-${{ matrix.target }} - name: Install OpenSSL (Windows) - if: matrix.platform == 'windows-latest' && steps.cache-static-Qt.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12' + if: matrix.platform == 'windows-latest' && steps.cache-openssl.outputs.cache-hit != 'true' && matrix.qt_version != '6.2.12' shell: powershell run: | echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append