Skip to content

Commit

Permalink
chore: target dotnet 8 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun authored Feb 1, 2024
1 parent 9dac295 commit 96b103c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '6.x', '7.x' ]
dotnet: ['6.x', '7.x', '8.x']

steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
</PropertyGroup>
Expand Down Expand Up @@ -33,6 +33,8 @@
Condition="'$(TargetFramework)' == 'net6.0'" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.*"
Condition="'$(TargetFramework)' == 'net7.0'" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.*"
Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="System.Text.Encodings.Web" Version="4.7.2" />
</ItemGroup>

Expand Down

0 comments on commit 96b103c

Please sign in to comment.