Clean cache #9
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: Clean cache | |
on: | |
schedule: | |
- cron: "0 0 * * *" # every day (min hour dayOfMonth month dayOfWeek) | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cleanup | |
run: | | |
gh extension install actions/gh-actions-cache | |
gh actions-cache list | |
gh actions-cache delete webrpc-cache --confirm || true | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |