Clear GH Actions cache periodically (#5946)

This commit is contained in:
Dotan Simha 2024-11-15 13:03:55 +02:00 committed by GitHub
parent dada092a1b
commit c487b7c124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

19
.github/workflows/ci-cache-cleaner.yaml vendored Normal file
View file

@ -0,0 +1,19 @@
name: CI Cache Clean
on:
schedule:
# Every 5 days
- cron: '0 0 */5 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}
jobs:
update:
runs-on: ubuntu-22.04
steps:
- name: List Actions Cache
uses: easimon/wipe-cache@main
with:
dry-run: 'true'
- name: Clear Actions Cache
uses: easimon/wipe-cache@main