mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Update desktop-build.yml
This commit is contained in:
parent
d869598aaa
commit
80cc2ba87a
1 changed files with 6 additions and 6 deletions
12
.github/workflows/desktop-build.yml
vendored
12
.github/workflows/desktop-build.yml
vendored
|
|
@ -340,15 +340,15 @@ jobs:
|
|||
with:
|
||||
msbuild-architecture: x64
|
||||
|
||||
- name: Run sccache-cache (Windows, sccache)
|
||||
if: matrix.use_sccache == 1 && matrix.os == 'Windows'
|
||||
uses: mozilla-actions/sccache-action@v0.0.9
|
||||
|
||||
- name: Setup ccache (macOS)
|
||||
if: matrix.use_ccache == 1 && matrix.os == 'macOS'
|
||||
run: brew install ccache
|
||||
|
||||
- name: Run sccache-cache (Windows)
|
||||
if: matrix.use_sccache == 1 && matrix.os == 'Windows'
|
||||
uses: mozilla-actions/sccache-action@v0.0.9
|
||||
|
||||
- name: Restore compiler cache (ccache)
|
||||
- name: Restore compiler cache (macOS, ccache)
|
||||
if: matrix.use_ccache == 1 && matrix.os == 'macOS'
|
||||
id: ccache_restore
|
||||
uses: actions/cache/restore@v5
|
||||
|
|
@ -445,7 +445,7 @@ jobs:
|
|||
TARGET_MACOS_VERSION: ${{ matrix.override_target }}
|
||||
run: .ci/compile.sh --server --test --vcpkg
|
||||
|
||||
- name: Save compiler cache (ccache)
|
||||
- name: Save compiler cache (macOS, ccache)
|
||||
if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1 && matrix.os == 'macOS'
|
||||
uses: actions/cache/save@v5
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue