@@ -21,26 +21,22 @@ jobs:
2121 PUBLISH : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.os == 'windows-latest' && matrix.build-configuration == 'Release' }}
2222
2323 steps :
24- - name : Setup/Install the .NET 8 SDK
25- id : install-netsdk8
26- uses : actions/setup-dotnet@v4
27- with :
28- dotnet-version : 8.0.x
29-
30- - name : Setup/Install the .NET 10 SDK
24+ - name : Setup/Install the .NET SDKs
3125 id : install-netsdk
32- uses : actions/setup-dotnet@v4
26+ uses : actions/setup-dotnet@v5
3327 with :
34- dotnet-version : 10.0.x
28+ dotnet-version : |
29+ 8.0.x
30+ 10.0.x
3531
3632 - if : runner.os == 'Windows'
3733 name : Setup MSBuild
3834 id : setup_msbuild
39- uses : microsoft/setup-msbuild@v2
35+ uses : microsoft/setup-msbuild@v3
4036
4137 - name : Checkout repository
4238 id : checkout_repo
43- uses : actions/checkout@v3
39+ uses : actions/checkout@v6
4440 with :
4541 token : ${{ secrets.GITHUB_TOKEN }}
4642 submodules : recursive
@@ -109,7 +105,7 @@ jobs:
109105 - name : Upload unit test results
110106 id : upload_test_results
111107 continue-on-error : true
112- uses : actions/upload-artifact@v4
108+ uses : actions/upload-artifact@v7
113109 with :
114110 name : MailKit.${{ steps.semantic_version.outputs.version_num }}.${{ github.run_number }}-${{ matrix.os }}-${{ matrix.build-configuration }}-TestResults.xml
115111 path : TestResult.xml
@@ -151,7 +147,7 @@ jobs:
151147 - if : ${{ env.PUBLISH == 'true' }}
152148 name : Upload NuGet package as artifact
153149 id : upload_nuget_package
154- uses : actions/upload-artifact@v4
150+ uses : actions/upload-artifact@v7
155151 with :
156152 name : MailKit.${{ steps.semantic_version.outputs.version_num }}.${{ github.run_number }}.nupkg
157153 path : MailKit.${{ steps.semantic_version.outputs.version_num }}.${{ github.run_number }}.nupkg
0 commit comments