Clear caches #68
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
# Clearing caches regularly takes care of Rust caches growing to problematic size over time | |
# copied from Polars repo: | |
name: Clear caches | |
on: | |
schedule: | |
- cron: '0 4 * * SUN' | |
workflow_dispatch: | |
jobs: | |
clear-caches: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clear all caches | |
run: gh cache delete --all | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |