File tree Expand file tree Collapse file tree
tests/Microsoft.Graph.DotnetCore.Core.Trimming Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 uses : actions/setup-dotnet@v5
4242 with :
4343 dotnet-version : |
44- 8.x
44+ 6.x
45+ 10.x
4546 - uses : actions/checkout@v6
4647 with :
4748 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
Original file line number Diff line number Diff line change @@ -23,11 +23,16 @@ jobs:
2323 steps :
2424 - uses : actions/checkout@v6
2525
26- - name : Setup .NET
26+ - name : Setup .NET 6
2727 uses : actions/setup-dotnet@v5
2828 with :
2929 dotnet-version : 6.0.x
3030
31+ - name : Setup .NET 10
32+ uses : actions/setup-dotnet@v5
33+ with :
34+ dotnet-version : 10.0.x
35+
3136 - name : Setup JDK for android targets
3237 uses : actions/setup-java@v5
3338 with :
6671 - name : Setup .NET
6772 uses : actions/setup-dotnet@v5
6873 with :
69- dotnet-version : 9 .x
74+ dotnet-version : 10 .x
7075
7176 - name : Validate Trimming warnings
7277 run : dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net9.0
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 6 .0.417 " , /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+ "version" : " 10 .0.202 " ,
44 "rollForward" : " major"
55 }
66}
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ extends:
5858 inputs :
5959 version : 6.x
6060 - task : UseDotNet@2
61- displayName : ' Use .NET 9 for trimming validation'
61+ displayName : ' Use .NET 10 for trimming validation'
6262 inputs :
63- version : 9 .x
63+ version : 10 .x
6464 - task : PowerShell@2
6565 displayName : ' Set Java Home to use Java 11'
6666 inputs :
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 6 .0.417 " , /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+ "version" : " 10 .0.202 " ,
44 "rollForward" : " major"
55 }
66}
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 9 .0.102 " , /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+ "version" : " 10 .0.202 " ,
44 "rollForward" : " major"
55 }
66}
You can’t perform that action at this time.
0 commit comments