add ccache eviction for files older than 7 days (#6795)

* add ccache eviction for files older than 7 days

also clean up some of the scripts to be more internally consistent

* move name build into the docker container again

* remove one extra empty line [skip ci]

* allow canceling concurrent builds on master for both desktop and docker

* add ccache eviction age to macos as well
This commit is contained in:
ebbit1q 2026-04-11 19:18:12 +02:00 committed by GitHub
parent f56b672307
commit e977f123ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 78 additions and 18 deletions

View file

@ -13,6 +13,11 @@ on:
- '.github/workflows/docker-release.yml'
- 'Dockerfile'
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on release)
concurrency:
group: "${{ github.workflow }} @ ${{ github.ref_name }}"
cancel-in-progress: ${{ github.ref_type != 'tag' }}
jobs:
docker:
name: amd64 & arm64