workaround: Fix windows build

This commit is contained in:
Nova 2024-10-10 01:33:11 +03:30
parent 9194309d60
commit 48691073d6
No known key found for this signature in database
GPG Key ID: 389787EC83F5D73A

View File

@ -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