Update desktop-build.yml

This commit is contained in:
tooomm 2026-03-13 05:26:33 +01:00 committed by GitHub
parent 9a761246fe
commit fdffc5cf37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -449,7 +449,7 @@ jobs:
- name: Delete old compiler cache (ccache)
env:
GH_TOKEN: ${{ github.token }}
if: github.ref == 'refs/heads/master' && steps.ccache_restore.outputs.cache-hit
if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1 && steps.ccache_restore.outputs.cache-hit
run: gh cache delete --repo ${{ github.repository }} ${{ steps.ccache_restore.outputs.cache-primary-key }}
- name: Save compiler cache (ccache)