From f026069d01338ef5a7b041fb21d4dbe3765b8282 Mon Sep 17 00:00:00 2001 From: Benjamin Van Renterghem <42121860+benjaminvanrenterghem@users.noreply.github.com> Date: Tue, 20 Aug 2024 02:15:40 +0200 Subject: [PATCH] Add .NET 8 support --- .github/workflows/build.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ src/Core/AspNetCore.Proxy.csproj | 4 ++-- src/Test/AspNetCore.Proxy.Tests.csproj | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3a3029..aae2f65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,10 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: '7.0' + - name: Setup .NET 8 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x - name: Build and run tests. run: dotnet test --collect:"XPlat Code Coverage" - name: Make artifacts directory. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1088118..101cb94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,10 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: '7.0' + - name: Setup .NET 8 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x - name: Build package for Release. run: dotnet pack -c Release if: github.event.action == 'published' diff --git a/src/Core/AspNetCore.Proxy.csproj b/src/Core/AspNetCore.Proxy.csproj index a285d20..2b3fa42 100644 --- a/src/Core/AspNetCore.Proxy.csproj +++ b/src/Core/AspNetCore.Proxy.csproj @@ -3,10 +3,10 @@ AspNetCore.Proxy AspNetCore.Proxy - 4.5.0 + 4.6.0 https://github.com/twitchax/aspnetcore.proxy - netstandard2.0;net6.0;net7.0 + netstandard2.0;net6.0;net7.0;net8.0 latest false true diff --git a/src/Test/AspNetCore.Proxy.Tests.csproj b/src/Test/AspNetCore.Proxy.Tests.csproj index 26ba29a..7bca47a 100644 --- a/src/Test/AspNetCore.Proxy.Tests.csproj +++ b/src/Test/AspNetCore.Proxy.Tests.csproj @@ -1,14 +1,14 @@ - net7.0 + net8.0 false latest - +