diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c799d493e7d..025560ef059 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,6 +15,11 @@ jobs: permissions: packages: write steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 10.x + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -27,12 +32,10 @@ jobs: - uses: ./.github/actions/build - name: dotnet test - id: test-net90 - run: dotnet test -c Release -f net9.0 --no-build + run: dotnet test -c Release -f net8.0 --no-build - - name: Report failed tests - if: ${{ failure() && steps.test-net90.outcome == 'failure' }} - uses: ./.github/actions/report-failed-tests + - name: dotnet test + run: dotnet test -c Release -f net10.0 --no-build - name: dotnet pack run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} /p:ApiCompatGenerateSuppressionFile=true -o drop/nuget diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 92281b63644..b633570e113 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -4,6 +4,7 @@ on: workflow_run: workflows: - ci + - nightly types: - completed diff --git a/Directory.Build.props b/Directory.Build.props index c2c1f4bd877..c01224073fc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ true net8.0;net9.0 - net8.0;net9.0 + net8.0;net10.0 Preview enable true diff --git a/Directory.Packages.props b/Directory.Packages.props index beba2030348..f95afdad2f4 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -18,10 +18,7 @@ - - - diff --git a/src/Docfx.Common/Docfx.Common.csproj b/src/Docfx.Common/Docfx.Common.csproj index 0a8bbc436c0..7f8fe13e399 100644 --- a/src/Docfx.Common/Docfx.Common.csproj +++ b/src/Docfx.Common/Docfx.Common.csproj @@ -1,7 +1,6 @@ - diff --git a/src/Docfx.Dotnet/Docfx.Dotnet.csproj b/src/Docfx.Dotnet/Docfx.Dotnet.csproj index 0f63f0ede45..7ff17fbca8d 100644 --- a/src/Docfx.Dotnet/Docfx.Dotnet.csproj +++ b/src/Docfx.Dotnet/Docfx.Dotnet.csproj @@ -25,7 +25,6 @@ - diff --git a/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj b/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj index 659c1aa904c..d2944d33f2d 100644 --- a/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj +++ b/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj @@ -2,7 +2,6 @@ - diff --git a/src/Docfx.Plugins/Docfx.Plugins.csproj b/src/Docfx.Plugins/Docfx.Plugins.csproj index ca14a7a0327..d17da4b9492 100644 --- a/src/Docfx.Plugins/Docfx.Plugins.csproj +++ b/src/Docfx.Plugins/Docfx.Plugins.csproj @@ -1,6 +1,5 @@ - diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 980f4c83a2b..47fc2cbca0a 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -28,12 +28,6 @@ - - - - - -