From 8983f147a59e166d192fa06c72264e66249a0f00 Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Thu, 6 Nov 2025 21:28:16 -0300 Subject: [PATCH] change cache key, disable cross os archive --- .github/workflows/desktop-build.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 81a8d19c1..079ac951f 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -120,12 +120,12 @@ jobs: steps: - name: Force clean cache - if: true + if: false env: GH_TOKEN: ${{ github.token }} GH_REPO: ${{ github.repository }} BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge - run: gh api --method DELETE /repos/${{ github.repository }}/actions/caches?key=qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} + run: gh cache delete qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} - name: Restore thin Qt libraries id: restore_qt @@ -133,7 +133,7 @@ jobs: with: lookup-only: true path: ${{ github.workspace }}/Qt - key: qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} + key: thin-qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} # Using jurplel/install-qt-action to install Qt without using brew # qt build using vcpkg either just fails or takes too long to build @@ -162,9 +162,8 @@ jobs: if: steps.restore_qt.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: - enableCrossOsArchive: true path: ${{ github.workspace }}/Qt - key: qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} + key: thin-qt-macos-${{ matrix.soc }}-${{ env.QT_VERSION }} build-linux: strategy: @@ -431,9 +430,8 @@ jobs: id: restore_qt uses: actions/cache/restore@v4 with: - enableCrossOsArchive: true path: ${{ github.workspace }}/Qt - key: qt-macos-${{ matrix.soc }}-${{ matrix.qt_version }} + key: thin-qt-macos-${{ matrix.soc }}-${{ matrix.qt_version }} - name: Install Qt ${{matrix.qt_version}} if: matrix.os == 'Windows'