From 58ea5b4ea89e3e2a9232f2ac6664f481b655a10a Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 11 May 2024 22:41:40 +0900 Subject: [PATCH] chore: Drop .NET 7 SDK supports (#9911) --- .github/workflows/ci.yml | 3 --- .github/workflows/nightly.yml | 11 +++++++++++ .github/workflows/release.yml | 2 +- Directory.Build.props | 4 ++-- README.md | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07edfb93de1..30162a05fc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,9 +32,6 @@ jobs: - run: dotnet test -c Release -f net8.0 --no-build --collect:"XPlat Code Coverage" - - run: dotnet test -c Release -f net7.0 --no-build --collect:"XPlat Code Coverage" - if: matrix.os == 'ubuntu-latest' - - run: dotnet test -c Release -f net6.0 --no-build --collect:"XPlat Code Coverage" if: matrix.os == 'ubuntu-latest' diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 88c036e9dd2..8b63d777b62 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -3,6 +3,9 @@ on: schedule: - cron: '0 0 * * *' +env: + DOCFX_PREVIEW_BUILD: true + jobs: publish-github-packages: if: github.ref == 'refs/heads/main' @@ -10,6 +13,11 @@ jobs: permissions: packages: write steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 9.x + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -20,6 +28,9 @@ jobs: version_format: ${major}.${minor}.${patch}-preview.${increment} - uses: ./.github/actions/build + + - name: dotnet test + run: dotnet test -c Release -f net9.0 --no-build - name: dotnet pack run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} -o drop/nuget diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e7b9426e16..c2ecef6e023 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: name: nuget path: drop/nuget - - run: dotnet tool install --tool-path . sign --version 0.9.1-beta.23530.1 + - run: dotnet tool install --tool-path . sign --version 0.9.1-beta.24170.3 - run: > ./sign code azure-key-vault diff --git a/Directory.Build.props b/Directory.Build.props index 4569d3e162e..8c36363c7f4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,8 +1,8 @@ true - net6.0;net7.0;net8.0 - + net6.0;net8.0 + net8.0;net9.0 Preview enable true diff --git a/README.md b/README.md index 6686d4e8c1d..e0fdd8abdec 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ We welcome code contributions through pull requests, issues tagged as **[`help-w ### Prerequisites - Install [Visual Studio 2022 (Community or higher)](https://www.visualstudio.com/) and make sure you have the latest updates. -- Install [.NET SDK](https://dotnet.microsoft.com/download/dotnet) 6.x, 7.x and 8.x. +- Install [.NET SDK](https://dotnet.microsoft.com/download/dotnet) 6.x and 8.x. - Install NodeJS (20.x.x). ### Build and Test