From 59d65d5a1ff90f32216b82844a59116dea4badb9 Mon Sep 17 00:00:00 2001 From: Particular Bot Date: Fri, 10 Jan 2025 06:28:20 -0800 Subject: [PATCH] Update for .NET 9 - release-3.0 (#462) * Updates for .NET 9 Co-authored-by: internalautomation[bot] <85681268+internalautomation[bot]@users.noreply.github.com> Co-authored-by: Jayanthi --- .github/workflows/ci.yml | 10 +++------- .github/workflows/release.yml | 10 +++------- global.json | 2 +- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 391b095..569bda8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,17 +17,13 @@ jobs: runs-on: windows-2019 steps: - name: Checkout - uses: actions/checkout@v4.1.2 + uses: actions/checkout@v4.2.2 with: - fetch-depth: 0 - - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.0 - with: - dotnet-version: 8.0.x + fetch-depth: 0 - name: Build run: dotnet build src --configuration Release - name: Upload packages - uses: actions/upload-artifact@v4.3.1 + 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 3a77194..1149e37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,9 @@ jobs: runs-on: windows-2019 # Needs System.Configuration and System.ServiceModel from Windows steps: - name: Checkout - uses: actions/checkout@v4.1.2 + uses: actions/checkout@v4.2.2 with: - fetch-depth: 0 - - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.0.0 - with: - dotnet-version: 8.0.x + fetch-depth: 0 - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages @@ -31,7 +27,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.1 + 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