diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 54e7384..1088118 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,6 +20,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0'
+ - name: Setup .NET 7
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '7.0'
- 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 4140b64..a285d20 100644
--- a/src/Core/AspNetCore.Proxy.csproj
+++ b/src/Core/AspNetCore.Proxy.csproj
@@ -3,7 +3,7 @@
AspNetCore.Proxy
AspNetCore.Proxy
- 4.4.0
+ 4.5.0
https://github.com/twitchax/aspnetcore.proxy
netstandard2.0;net6.0;net7.0
@@ -13,6 +13,10 @@
true
Library
+
+
+ MIT
+
diff --git a/src/Test/Http/HttpHelpers.cs b/src/Test/Http/HttpHelpers.cs
index 58782d3..0aef3f2 100644
--- a/src/Test/Http/HttpHelpers.cs
+++ b/src/Test/Http/HttpHelpers.cs
@@ -153,7 +153,7 @@ public void GetWithCustomReasonPhase(int postId)
public Task GetWithCustomReasonPhase()
{
var options = HttpProxyOptionsBuilder.Instance.WithIntercept(
- async (ctx) =>
+ (ctx) =>
{
var httpResponseFeature = ctx.Features.Get();
if (httpResponseFeature != null)
@@ -161,7 +161,7 @@ public Task GetWithCustomReasonPhase()
httpResponseFeature.ReasonPhrase = "I am dummy!";
}
- return true;
+ return new ValueTask(true);
}).Build();