mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use distro slug for windows packages
This commit is contained in:
parent
a133e32421
commit
703ca1b830
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue