Skip to content

Commit 18f4290

Browse files
committed
Add workflow to delete caches on closed PRs
- evict cache files that untouched during the job run - remove 6.8 workflow (6.9 should be sufficient) - see #301
1 parent 8a33ce7 commit 18f4290

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
uses: hendrikmuhs/[email protected]
5656
with:
5757
key: ${{ runner.os }}-ubuntu-${{ matrix.container_version }}
58+
evict-old-files: 'job'
5859

5960
- name: Build PythonQt
6061
run: |
@@ -214,6 +215,7 @@ jobs:
214215
uses: hendrikmuhs/[email protected]
215216
with:
216217
key: ${{ runner.os }}-${{ matrix.qt-version }}
218+
evict-old-files: 'job'
217219

218220
- name: Detect exact versions
219221
id : versions

.github/workflows/build_latest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: ['ubuntu', 'windows']
23-
qt-version: [ '5.12.*', '5.15.*', '6.8.*', '6.9.*' ]
23+
qt-version: [ '5.12.*', '5.15.*', '6.9.*' ]
2424
python-version: [ '3.12' ]
2525
runs-on: ${{ matrix.os }}-latest
2626
steps:
@@ -50,6 +50,7 @@ jobs:
5050
uses: hendrikmuhs/[email protected]
5151
with:
5252
key: ${{ runner.os }}-${{ matrix.qt-version }}
53+
evict-old-files: 'job'
5354
if: ${{ matrix.os == 'ubuntu' }}
5455

5556
- name: Set environment

.github/workflows/clean_caches.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)