File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed
Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,22 @@ name: Playwright project tests
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ runner :
7+ description : " Select the runner"
8+ required : false
9+ type : choice
10+ options :
11+ - ubunntu-latest
12+ - windows-latest
13+ default : ubunntu-latest
514 pull_request :
615
716jobs :
817 PlaywrightProjectTests :
9- runs-on : ubuntu -latest
18+ runs-on : ${{ inputs.runner || 'ubunntu -latest' }}
1019 steps :
11- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
1221 - name : Setup .NET Core SDK '8.0.x'
1322 uses : actions/setup-dotnet@v4
1423 with :
Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ name: Selenium project tests
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ runner :
7+ description : " Select the runner"
8+ required : false
9+ type : choice
10+ options :
11+ - windows-latest
12+ - ubunntu-latest
13+ default : windows-latest
514 pull_request :
615 branches : [ main ]
716
1120jobs :
1221 build :
1322
14- runs-on : windows-latest
23+ runs-on : ${{ inputs.runner || ' windows-latest' }}
1524
1625 steps :
17- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
1827 - name : Setup .NET
1928 uses : actions/setup-dotnet@v4
2029 with :
You can’t perform that action at this time.
0 commit comments