Skip to content

consistent order

consistent order #2

# 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:
- name: clear_linux_arm64

Check failure on line 7 in .github/workflows/clear_self_hosted_persistent_caches.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/clear_self_hosted_persistent_caches.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
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
- name: Deleting ~/.cache
run: du -sh ~/.cache || true; rm -rf ~/.cache
- name: Deleting ~/.nce
run: du -sh ~/.nce || true; rm -rf ~/.nce
- name: Deleting ~/.rustup
run: du -sh ~/.rustup || true; rm -rf ~/.rustup
- name: Deleting ~/.pex
run: du -sh ~/.pex || true; rm -rf ~/.pex
- name: df after
run: df -h
- name: clear_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
- name: Deleting ~/.cache
run: du -sh ~/.cache || true; rm -rf ~/.cache
- name: Deleting ~/.nce
run: du -sh ~/.nce || true; rm -rf ~/.nce
- name: Deleting ~/.rustup
run: du -sh ~/.rustup || true; rm -rf ~/.rustup
- name: Deleting ~/.pex
run: du -sh ~/.pex || true; rm -rf ~/.pex
- name: df after
run: df -h
- name: clear_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
- name: Deleting ~/.cache
run: du -sh ~/.cache || true; rm -rf ~/.cache
- name: Deleting ~/.nce
run: du -sh ~/.nce || true; rm -rf ~/.nce
- name: Deleting ~/.rustup
run: du -sh ~/.rustup || true; rm -rf ~/.rustup
- name: Deleting ~/.pex
run: du -sh ~/.pex || true; rm -rf ~/.pex
- name: df after
run: df -h
name: Clear persistent caches on long-lived self-hosted runners
'on':
workflow_dispatch: {}