Clear cache #214
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 cache | |
on: | |
schedule: | |
- cron: '0 0 * * 6' # run every staturday | |
jobs: | |
clear-cache: | |
name: Clear Actions Cache | |
runs-on: ubuntu-latest | |
steps: | |
- name: free disk space | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
sudo apt clean | |
docker rmi $(docker image ls -aq) | |
df -h |