mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 13:03:55 -07:00
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
This commit is contained in:
parent
fa004cc498
commit
fc1d1b4f5d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/desktop-build.yml
vendored
6
.github/workflows/desktop-build.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue