Skip to content

Commit 21833b2

Browse files
:|
1 parent b69678d commit 21833b2

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/windows_navigation_tests.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,20 @@ jobs:
3232
#- name: Add nuget.org source for runtime packs
3333
# run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org -p
3434

35-
- name: Pull required runtime packs manually
35+
- name: Trigger runtime pack resolution with dummy project
3636
run: |
37-
dotnet add package Microsoft.NETCore.App.Runtime.win10-x64 --version 9.0.6
38-
dotnet add package Microsoft.WindowsDesktop.App.Runtime.win10-x64 --version 9.0.6
39-
working-directory: TransactionProcessor.Mobile
37+
dotnet new console -n RuntimeWarmup
38+
cd RuntimeWarmup
39+
echo '<Project Sdk="Microsoft.NET.Sdk">
40+
<PropertyGroup>
41+
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
42+
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
43+
<UseWindowsForms>false</UseWindowsForms>
44+
<UseWPF>false</UseWPF>
45+
</PropertyGroup>
46+
</Project>' > RuntimeWarmup.csproj
47+
dotnet restore RuntimeWarmup.csproj
48+
dotnet build RuntimeWarmup.csproj
4049
4150
- name: Install Appium and Drivers
4251
run: |

0 commit comments

Comments
 (0)