Skip to content

Commit 774f331

Browse files
author
Test User
committed
chore: allow vi staging smoke to target self-hosted runner (#326)
1 parent 178a894 commit 774f331

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/vi-staging-smoke.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name: Smoke VI Staging
33
on:
44
workflow_dispatch:
55
inputs:
6+
runner:
7+
description: 'Runner selection'
8+
required: false
9+
default: 'hosted'
10+
type: choice
11+
options:
12+
- hosted
13+
- self-hosted
614
keep_branch:
715
description: 'Keep scratch branch and PR after the smoke test'
816
required: false
@@ -19,7 +27,7 @@ permissions:
1927

2028
jobs:
2129
smoke:
22-
runs-on: windows-latest
30+
runs-on: ${{ fromJson(inputs.runner == 'self-hosted' && '["self-hosted","windows","vi-staging"]' || '["windows-latest"]') }}
2331
steps:
2432
- name: Checkout
2533
uses: actions/checkout@v4

0 commit comments

Comments
 (0)