From 7e995e24bfd2dba804fb640af33fcb2e19213ef1 Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Thu, 18 Sep 2025 19:49:20 +0200 Subject: [PATCH] Reduce size limit for ccache to 250 MB - evict cache files that untouched during the job run - do not append time stamp - see #301 --- .github/workflows/build.yml | 6 ++++++ .github/workflows/build_latest.yml | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10dc3d84e..efac5a177 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,9 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2.18 with: key: ${{ runner.os }}-ubuntu-${{ matrix.container_version }} + max-size: "250M" + evict-old-files: 'job' + append-timestamp: false - name: Build PythonQt run: | @@ -214,6 +217,9 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2.18 with: key: ${{ runner.os }}-${{ matrix.qt-version }} + max-size: "250M" + evict-old-files: 'job' + append-timestamp: false - name: Detect exact versions id : versions diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 6770f4d8f..08d7b6482 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu', 'windows'] - qt-version: [ '5.12.*', '5.15.*', '6.8.*', '6.9.*' ] + qt-version: [ '5.12.*', '5.15.*', '6.9.*' ] python-version: [ '3.12' ] runs-on: ${{ matrix.os }}-latest steps: @@ -50,6 +50,9 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2.18 with: key: ${{ runner.os }}-${{ matrix.qt-version }} + max-size: "250M" + evict-old-files: 'job' + append-timestamp: false if: ${{ matrix.os == 'ubuntu' }} - name: Set environment