From fc1d1b4f5d1362efe42265e02fd3307431fdc2e7 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 5 Jul 2026 11:59:32 +0200 Subject: [PATCH] fix cache-hit check Values are either - true for exact cache hit - false for partial cache hit (restore-key not defined + wanted in this step) - empty for no cache hit --- .github/workflows/desktop-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index ba4801ca1..80c5308c5 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -368,7 +368,7 @@ jobs: # Using jurplel/install-qt-action to install Qt without using brew # Qt build using vcpkg either just fails or takes too long to build - name: "[macOS] Install fat Qt ${{ steps.resolve_qt_version.outputs.version }}" - if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == 'false' + if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == '' uses: jurplel/install-qt-action@v4 with: arch: ${{ matrix.qt_arch }} @@ -378,11 +378,11 @@ jobs: version: ${{ steps.resolve_qt_version.outputs.version }} - name: "[macOS] Create thin Qt libraries" - if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == 'false' + if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == '' run: .ci/thin_macos_qtlib.sh - name: "[macOS] Cache thin Qt libraries" - if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == 'false' + if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == '' uses: actions/cache/save@v6 with: key: thin-qt-macos-${{ matrix.soc }}-${{ steps.resolve_qt_version.outputs.version }}