Clear GitHub runner caches #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clear GitHub runner caches | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # Runs once a day | |
jobs: | |
clear: | |
name: Clear caches | |
runs-on: ubuntu-latest | |
steps: | |
- uses: MyAlbum/purge-cache@v2 | |
with: | |
max-age: 172800 # Caches older than 2 days are deleted |