From f9eb4cd19743d1a2133c4ecd7ebd0ccb262fb49f Mon Sep 17 00:00:00 2001 From: "internalautomation[bot]" <85681268+internalautomation[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:13:18 -0800 Subject: [PATCH] Updates for .NET 9 --- .github/workflows/ci.yml | 10 ++++++---- .github/workflows/release.yml | 8 ++++---- global.json | 2 +- ...viceBus.TransactionalSession.AcceptanceTests.csproj | 2 +- .../NServiceBus.TransactionalSession.Tests.csproj | 2 +- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4778546..3291d64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,18 +25,20 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4.2.2 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.1 + uses: actions/setup-dotnet@v4.1.0 with: - dotnet-version: 8.0.x + dotnet-version: | + 9.0.x + 8.0.x - name: Build run: dotnet build src --configuration Release - name: Upload packages if: runner.os == 'Windows' - uses: actions/upload-artifact@v4.3.6 + uses: actions/upload-artifact@v4.4.3 with: name: NuGet packages path: nugets/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a85d05..0ff4987 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4.2.2 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.1 + uses: actions/setup-dotnet@v4.1.0 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages @@ -31,7 +31,7 @@ jobs: client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }} certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }} - name: Publish artifacts - uses: actions/upload-artifact@v4.3.6 + uses: actions/upload-artifact@v4.4.3 with: name: nugets path: nugets/* diff --git a/global.json b/global.json index 2134ed9..d5bf446 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.400", + "version": "9.0.100", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/src/NServiceBus.TransactionalSession.AcceptanceTests/NServiceBus.TransactionalSession.AcceptanceTests.csproj b/src/NServiceBus.TransactionalSession.AcceptanceTests/NServiceBus.TransactionalSession.AcceptanceTests.csproj index cc19e55..7a78bf0 100644 --- a/src/NServiceBus.TransactionalSession.AcceptanceTests/NServiceBus.TransactionalSession.AcceptanceTests.csproj +++ b/src/NServiceBus.TransactionalSession.AcceptanceTests/NServiceBus.TransactionalSession.AcceptanceTests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net9.0 true ..\NServiceBusTests.snk diff --git a/src/NServiceBus.TransactionalSession.Tests/NServiceBus.TransactionalSession.Tests.csproj b/src/NServiceBus.TransactionalSession.Tests/NServiceBus.TransactionalSession.Tests.csproj index 5f244a3..33d9d20 100644 --- a/src/NServiceBus.TransactionalSession.Tests/NServiceBus.TransactionalSession.Tests.csproj +++ b/src/NServiceBus.TransactionalSession.Tests/NServiceBus.TransactionalSession.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net9.0 true ..\NServiceBusTests.snk