2222 with :
2323 dotnet-version : ' 9.0.x'
2424
25- - name : debug
26- run : dotnet --info
27-
2825 - name : Install MAUI workloads
2926 run : |
3027 dotnet workload install maui
31- dotnet workload install maui-windows
32- dotnet workload install maui-desktop
33-
34- # - name: Add nuget.org source for runtime packs
35- # run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org -p
36-
37- - name : Trigger runtime pack resolution with dummy project
38- run : |
39- dotnet new console -n RuntimeWarmup
40- cd RuntimeWarmup
41- echo '<Project Sdk="Microsoft.NET.Sdk">
42- <PropertyGroup>
43- <TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
44- <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
45- <UseWindowsForms>false</UseWindowsForms>
46- <UseWPF>false</UseWPF>
47- </PropertyGroup>
48- </Project>' > RuntimeWarmup.csproj
49- dotnet restore RuntimeWarmup.csproj
50- dotnet build RuntimeWarmup.csproj
5128
5229 - name : Install Appium and Drivers
5330 run : |
@@ -58,27 +35,27 @@ jobs:
5835 run : |
5936 nohup appium --log appium.log &
6037
61- # - name: Restore MAUI App for Windows
62- # run: dotnet restore TransactionProcessor.Mobile.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
38+ - name : Restore MAUI App for Windows
39+ run : dotnet restore TransactionProcessor.Mobile.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
6340
64- # - name: Build Code
65- # run: dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj -f net9.0-windows10.0.19041.0 -c Release --no-restore --runtime win10-x64
41+ - name : Build Code
42+ run : dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj -f net9.0-windows10.0.19041.0 -c Release --no-restore
6643
6744 # ✅ Restore the MAUI App separately with RID
68- - name : Restore MAUI App Project
69- run : dotnet restore TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj --runtime win10-x64 --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
45+ # - name: Restore MAUI App Project
46+ # run: dotnet restore TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj --runtime win10-x64 --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
7047
7148 # ✅ Restore all other projects without RID (via .sln)
72- - name : Restore Solution (excluding RID conflicts)
73- run : dotnet restore TransactionProcessor.Mobile.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
49+ # - name: Restore Solution (excluding RID conflicts)
50+ # run: dotnet restore TransactionProcessor.Mobile.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
7451
7552 # ✅ Build the MAUI App with RuntimeIdentifier
76- - name : Build MAUI App
77- run : dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj -f net9.0-windows10.0.19041.0 -c Release --runtime win10-x64 --no-restore
53+ # - name: Build MAUI App
54+ # run: dotnet build TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj -f net9.0-windows10.0.19041.0 -c Release --runtime win10-x64 --no-restore
7855
7956 # ✅ Build all other projects (test libraries, class libs, etc.)
80- - name : Build Solution (non-MAUI projects)
81- run : dotnet build TransactionProcessor.Mobile.sln -c Release --no-restore
57+ # - name: Build Solution (non-MAUI projects)
58+ # run: dotnet build TransactionProcessor.Mobile.sln -c Release --no-restore
8259
8360 - name : Decrypt PFX File
8461 run : |
0 commit comments