diff --git a/.github/workflows/build-qv2ray-cmake.yml b/.github/workflows/build-qv2ray-cmake.yml index 0e4ce15..f56f304 100644 --- a/.github/workflows/build-qv2ray-cmake.yml +++ b/.github/workflows/build-qv2ray-cmake.yml @@ -92,7 +92,6 @@ jobs: if: matrix.platform == 'windows-2022' uses: ilammy/msvc-dev-cmd@v1.13.0 with: - toolset: 14.2 arch: ${{ matrix.arch }} - name: Download Artifacts uses: actions/download-artifact@v4.1.8 @@ -100,12 +99,21 @@ jobs: path: download-artifact # ========================================================================================================= Qt Install - name: Install Qt + if: matrix.platform != 'windows-2022' uses: jurplel/install-qt-action@v4.0.0 with: version: ${{ matrix.qt_version }} setup-python: true cache: true cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.arch }} + - name: Install Qt Windows + if: matrix.platform == 'windows-2022' + uses: jurplel/install-qt-action@v4.0.0 + with: + arch: win64_msvc2022_64 + version: ${{ matrix.qt_version }} + cache: true + cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.arch }} # ========================================================================================================= 编译与 Qt 无关的依赖 - name: Install ninja-build tool uses: seanmiddleditch/gha-setup-ninja@v5