Fix Arch ccache usage

This commit is contained in:
tooomm 2026-03-14 22:53:32 +01:00 committed by GitHub
parent 0fa973dee2
commit 1f9037d994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,7 @@ jobs:
# Delete used cache to emulate a cache update. See https://github.com/actions/cache/issues/342.
- name: Delete old compiler cache (ccache)
if: github.ref == 'refs/heads/master' && steps.ccache_restore.outputs.cache-hit && steps.build.outcome == 'success'
if: github.ref == 'refs/heads/master' && steps.ccache_restore.outputs.cache-hit
env:
GH_TOKEN: ${{ github.token }}
run: gh cache delete --repo ${{ github.repository }} ${{ steps.ccache_restore.outputs.cache-primary-key }}