Clear persistent caches on long-lived self-hosted runners #6
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
# GENERATED, DO NOT EDIT! | |
# To change, edit `src/python/pants_release/generate_github_workflows.py` and run: | |
# ./pants run src/python/pants_release/generate_github_workflows.py | |
jobs: | |
clean_linux_arm64: | |
runs-on: | |
- self-hosted | |
- Linux | |
- ARM64 | |
steps: | |
- name: df before | |
run: df -h | |
- name: Deleting ~/Library/Caches | |
run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true | |
- name: Deleting ~/.cache | |
run: du -sh ~/.cache || true; rm -rf ~/.cache || true | |
- name: Deleting ~/.nce | |
run: du -sh ~/.nce || true; rm -rf ~/.nce || true | |
- name: Deleting ~/.rustup | |
run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true | |
- name: Deleting ~/.pex | |
run: du -sh ~/.pex || true; rm -rf ~/.pex || true | |
- name: df after | |
run: df -h | |
clean_macos10_15_x86_64: | |
runs-on: | |
- self-hosted | |
- macOS-10.15-X64 | |
steps: | |
- name: df before | |
run: df -h | |
- name: Deleting ~/Library/Caches | |
run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true | |
- name: Deleting ~/.cache | |
run: du -sh ~/.cache || true; rm -rf ~/.cache || true | |
- name: Deleting ~/.nce | |
run: du -sh ~/.nce || true; rm -rf ~/.nce || true | |
- name: Deleting ~/.rustup | |
run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true | |
- name: Deleting ~/.pex | |
run: du -sh ~/.pex || true; rm -rf ~/.pex || true | |
- name: df after | |
run: df -h | |
clean_macos11_arm64: | |
runs-on: | |
- self-hosted | |
- macOS-11-ARM64 | |
steps: | |
- name: df before | |
run: df -h | |
- name: Deleting ~/Library/Caches | |
run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true | |
- name: Deleting ~/.cache | |
run: du -sh ~/.cache || true; rm -rf ~/.cache || true | |
- name: Deleting ~/.nce | |
run: du -sh ~/.nce || true; rm -rf ~/.nce || true | |
- name: Deleting ~/.rustup | |
run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true | |
- name: Deleting ~/.pex | |
run: du -sh ~/.pex || true; rm -rf ~/.pex || true | |
- name: df after | |
run: df -h | |
name: Clear persistent caches on long-lived self-hosted runners | |
'on': | |
workflow_dispatch: {} |