From 703ca1b830e058653471f0c35865c5e7b7e18e1c Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Tue, 5 Nov 2024 16:53:08 -0700 Subject: [PATCH] Use distro slug for windows packages --- .github/workflows/test-packages-action-windows.yml | 2 +- tools/ci.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-packages-action-windows.yml b/.github/workflows/test-packages-action-windows.yml index cca00a17c45..d61f8c3d09e 100644 --- a/.github/workflows/test-packages-action-windows.yml +++ b/.github/workflows/test-packages-action-windows.yml @@ -106,7 +106,7 @@ jobs: test: name: Test - runs-on: windows-latest + runs-on: ${{ inputs.distro-slug }} timeout-minutes: 120 # 2 Hours - More than this and something is wrong needs: - generate-matrix diff --git a/tools/ci.py b/tools/ci.py index 3cfba6dda63..944f11dddc7 100644 --- a/tools/ci.py +++ b/tools/ci.py @@ -1172,7 +1172,7 @@ def get_pr_test_labels( f"The '{slug}' slug exists as a label but not as an available OS." ) selected.add(slug) - if slug != "all": + if slug != "all" and slug in available: available.remove(slug) continue test_labels.append(name)