Skip to content

Commit 0be3f56

Browse files
committed
fixup! Refactor dep_rust so it is re-usable in new nightly job
Signed-off-by: James Sturtevant <[email protected]>
1 parent 0c0c006 commit 0be3f56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/dep_rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
timeout-minutes: 60
5757
runs-on: ${{ fromJson(
5858
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-amd"]',
59-
(matrix.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux',
60-
matrix.hypervisor == 'hyperv-ws2025' && 'win2025' || 'kvm')) }}
59+
(inputs.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux',
60+
inputs.hypervisor == 'hyperv-ws2025' && 'win2025' || 'kvm')) }}
6161
steps:
6262
- uses: actions/checkout@v5
6363

@@ -94,9 +94,9 @@ jobs:
9494
timeout-minutes: 60
9595
runs-on: ${{ fromJson(
9696
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]',
97-
(matrix.hypervisor == 'hyperv' || matrix.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux',
98-
matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'hyperv-ws2025' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor,
99-
matrix.cpu)) }}
97+
(inputs.hypervisor == 'hyperv' || inputs.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux',
98+
inputs.hypervisor == 'hyperv' && 'win2022' || inputs.hypervisor == 'hyperv-ws2025' && 'win2025' || inputs.hypervisor == 'mshv3' && 'azlinux3-mshv' || inputs.hypervisor,
99+
inputs.cpu)) }}
100100
steps:
101101
- uses: actions/checkout@v5
102102

0 commit comments

Comments
 (0)