Update desktop-build.yml

This commit is contained in:
tooomm 2026-03-14 13:55:31 +01:00 committed by GitHub
parent 8f757e8de2
commit 338312b29e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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