mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
22 lines
558 B
YAML
22 lines
558 B
YAML
name: 🧹 Clean Up Old Caches
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every day at 12am UTC.
|
|
workflow_dispatch: # As well as manually.
|
|
|
|
jobs:
|
|
clean:
|
|
name: "Clean Up Caches"
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: write
|
|
steps:
|
|
- name: Clean Caches
|
|
uses: PCSX2/cache-clean-action@v1.1.0
|
|
with:
|
|
items: '[{"key": " deps", "count": 4}, {"key": " ccache", "count": 1}, {"key": " flatpak", "count": 1}]'
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: all
|
|
on_failure: error
|