From 523dc1f346559e4c9eeac983668f1534340d95c8 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Fri, 5 Apr 2024 08:03:30 +1100 Subject: [PATCH] consistent order --- .../workflows/clear_self_hosted_persistent_caches.yaml | 10 +++++----- src/python/pants_release/generate_github_workflows.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clear_self_hosted_persistent_caches.yaml b/.github/workflows/clear_self_hosted_persistent_caches.yaml index 32f3040ede1..0c494b12251 100644 --- a/.github/workflows/clear_self_hosted_persistent_caches.yaml +++ b/.github/workflows/clear_self_hosted_persistent_caches.yaml @@ -4,10 +4,11 @@ jobs: -- name: clear_macos10_15_x86_64 +- name: clear_linux_arm64 runs-on: - self-hosted - - macOS-10.15-X64 + - Linux + - ARM64 steps: - name: df before run: df -h @@ -23,11 +24,10 @@ jobs: run: du -sh ~/.pex || true; rm -rf ~/.pex - name: df after run: df -h -- name: clear_linux_arm64 +- name: clear_macos10_15_x86_64 runs-on: - self-hosted - - Linux - - ARM64 + - macOS-10.15-X64 steps: - name: df before run: df -h diff --git a/src/python/pants_release/generate_github_workflows.py b/src/python/pants_release/generate_github_workflows.py index 2c0511536d3..1b320aa8008 100644 --- a/src/python/pants_release/generate_github_workflows.py +++ b/src/python/pants_release/generate_github_workflows.py @@ -1599,7 +1599,7 @@ def make_job(platform: Platform) -> dict[str, Any]: ], } - return [make_job(platform) for platform in SELF_HOSTED] + return [make_job(platform) for platform in sorted(SELF_HOSTED, key=lambda p: p.value)] # ----------------------------------------------------------------------