@@ -11,32 +11,27 @@ jobs:
1111 fail-fast : false
1212 matrix :
1313 os : [windows-latest, ubuntu-latest]
14- framework : ['netcoreapp3.1 ', 'net50 ', 'net60', 'net80 ']
14+ framework : ['net60 ', 'net80 ', 'net90 ']
1515 steps :
1616
1717 - name : Check out code onto host
1818 uses : actions/checkout@v4
1919
20- - name : Setup .Net 3.1
21- uses : actions/setup-dotnet@v3
22- with :
23- dotnet-version : ' 3.1.x' # SDK Version to use.
24-
25- - name : Setup .Net 5.0
26- uses : actions/setup-dotnet@v3
27- with :
28- dotnet-version : ' 5.0.x' # SDK Version to use.
29-
3020 - name : Setup .Net 6.0
31- uses : actions/setup-dotnet@v3
21+ uses : actions/setup-dotnet@v4
3222 with :
3323 dotnet-version : ' 6.0.x' # SDK Version to use.
3424
3525 - name : Setup .Net 8.0
36- uses : actions/setup-dotnet@v3
26+ uses : actions/setup-dotnet@v4
3727 with :
3828 dotnet-version : ' 8.0.x' # SDK Version to use.
3929
30+ - name : Setup .Net 9.0
31+ uses : actions/setup-dotnet@v4
32+ with :
33+ dotnet-version : ' 9.0.x' # SDK Version to use.
34+
4035 - name : Dotnet info
4136 run : |
4237 dotnet --version
@@ -63,15 +58,15 @@ jobs:
6358 if : matrix.framework == 'net80'
6459
6560 - name : Upload dotnet test results
66- uses : actions/upload-artifact@v3
61+ uses : actions/upload-artifact@v4
6762 with :
6863 name : dotnet-results-${{ matrix.os }}-${{ matrix.framework }}
6964 path : TestResults-${{ matrix.os }}-${{ matrix.framework }}
7065 # Use always() to always run this step to publish test results when there are test failures
7166 if : ${{ always() }}
7267
7368 - name : Upload BenchmarkDotNet results
74- uses : actions/upload-artifact@v3
69+ uses : actions/upload-artifact@v4
7570 with :
7671 name : BenchmarkDotNet-${{ matrix.os }}-${{ matrix.framework }}
7772 path : BenchmarkDotNet.Artifacts
8580 strategy :
8681 fail-fast : false
8782 matrix :
88- framework : ['net45', ' net472', 'net48']
83+ framework : ['net472', 'net48']
8984 steps :
9085
9186 - name : Check out code onto host
9590 uses : microsoft/setup-msbuild@v1.3.1
9691
9792 - name : Setup .Net 8.0
98- uses : actions/setup-dotnet@v3
93+ uses : actions/setup-dotnet@v4
9994 with :
10095 dotnet-version : ' 8.0.x' # SDK Version to use.
10196
@@ -119,7 +114,7 @@ jobs:
119114 dotnet test --no-restore --configuration Release --verbosity normal --framework=${{ matrix.framework }} --logger trx --results-directory "TestResults-${{ matrix.os }}-${{ matrix.framework }}"
120115
121116 - name : Upload dotnet test results
122- uses : actions/upload-artifact@v3
117+ uses : actions/upload-artifact@v4
123118 with :
124119 name : dotnet-results-windows-latest-${{ matrix.framework }}
125120 path : TestResults-windows-latest-${{ matrix.framework }}
0 commit comments