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
8f757e8de2
commit
338312b29e
1 changed files with 1 additions and 6 deletions
7
.github/workflows/desktop-build.yml
vendored
7
.github/workflows/desktop-build.yml
vendored
|
|
@ -325,7 +325,7 @@ jobs:
|
||||||
# Cache size over the entire repo is 10Gi:
|
# Cache size over the entire repo is 10Gi:
|
||||||
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy
|
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy
|
||||||
CCACHE_SIZE: 500M
|
CCACHE_SIZE: 500M
|
||||||
SCCACHE_GHA_ENABLED: true
|
SCCACHE_GHA_ENABLED: on
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -344,11 +344,6 @@ jobs:
|
||||||
if: matrix.use_sccache == 1 && matrix.os == 'Windows'
|
if: matrix.use_sccache == 1 && matrix.os == 'Windows'
|
||||||
uses: mozilla-actions/sccache-action@v0.0.9
|
uses: mozilla-actions/sccache-action@v0.0.9
|
||||||
|
|
||||||
# workaround, see https://github.com/Mozilla-Actions/sccache-action/issues/177
|
|
||||||
- name: Ensure sccache is using GHA cache (Windows)
|
|
||||||
if: matrix.use_sccache == 1 && matrix.os == 'Windows'
|
|
||||||
run: Add-Content -Path $env:GITHUB_ENV -Value "SCCACHE_GHA_ENABLED=true"
|
|
||||||
|
|
||||||
- name: Setup ccache (macOS)
|
- name: Setup ccache (macOS)
|
||||||
if: matrix.use_ccache == 1 && matrix.os == 'macOS'
|
if: matrix.use_ccache == 1 && matrix.os == 'macOS'
|
||||||
run: brew install ccache
|
run: brew install ccache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue