Use distro slug for windows packages

This commit is contained in:
Daniel A. Wozniak 2024-11-05 16:53:08 -07:00 committed by Daniel Wozniak
parent a133e32421
commit 703ca1b830
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)