From 9bdd55238c048dd6521d1575fbca7265c6b64d38 Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 20 Apr 2025 16:45:54 +0330 Subject: [PATCH] fix build --- .github/workflows/build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56d4b9a..a4c1cf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,8 +102,9 @@ jobs: with: path: download-artifact # ========================================================================================================= Qt Install - - name: Install Qt + - name: Install Qt Windows uses: jurplel/install-qt-action@v4.1.1 + if: matrix.platform == 'windows-latest' with: arch: win64_mingw version: ${{ matrix.qt_version }} @@ -111,7 +112,16 @@ jobs: modules: qtcharts cache: true cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.target }} - # ========================================================================================================= 编译与 Qt 无关的依赖 + - name: Install Qt + uses: jurplel/install-qt-action@v4.1.1 + if: matrix.platform != 'windows-latest' + with: + version: ${{ matrix.qt_version }} + setup-python: true + modules: qtcharts + cache: true + cache-key-prefix: QtCache-${{ matrix.platform }}-${{ matrix.target }} + # ========================================================================================================= Install Ninja and Build deps - name: Install ninja-build tool uses: seanmiddleditch/gha-setup-ninja@v5 - name: Cache Download