mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Only save Qt caches from master
This commit is contained in:
parent
a5a7d5023d
commit
de508ba9ac
1 changed files with 2 additions and 2 deletions
4
.github/workflows/desktop-build.yml
vendored
4
.github/workflows/desktop-build.yml
vendored
|
|
@ -394,7 +394,7 @@ jobs:
|
|||
run: .ci/thin_macos_qtlib.sh
|
||||
|
||||
- name: Cache thin Qt libraries (macOS${{matrix.soc == 'Intel' && ', Intel' || ''}})
|
||||
if: matrix.os == 'macOS' && steps.qt_restore.outputs.cache-hit != 'true'
|
||||
if: matrix.os == 'macOS' && steps.qt_restore.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master'
|
||||
uses: actions/cache/save@v5
|
||||
with:
|
||||
path: ${{ github.workspace }}/Qt
|
||||
|
|
@ -407,7 +407,7 @@ jobs:
|
|||
version: ${{ steps.resolve_qt_version.outputs.version }}
|
||||
arch: ${{matrix.qt_arch}}
|
||||
modules: ${{matrix.qt_modules}}
|
||||
cache: true
|
||||
cache: ${{ github.ref == 'refs/heads/master' }}
|
||||
cache-key-prefix: qt
|
||||
|
||||
- name: Install NSIS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue