Skip to content

Commit

Permalink
Update .NET version in GitHub Actions workflow
Browse files Browse the repository at this point in the history
Updated the .NET version used in the GitHub Actions workflow for building and packing the project from version 8.0.x to version 9.0.x. This ensures compatibility with the latest features and improvements in .NET 9.0.x.
  • Loading branch information
bvdcode committed Nov 13, 2024
1 parent 6911829 commit b906ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
- name: Build and Pack NuGet package
run: |
cd Sources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ internal static JwtSettings GetJwtSettings(this IConfiguration configuration)

string key = (!jwtSettings.Exists() ? configuration["JwtKey"] : jwtSettings["Key"])
?? throw new KeyNotFoundException("JwtSettings.Key or JwtKey is not set");

string algorithm = key.Length switch
{
256 / 8 => SecurityAlgorithms.HmacSha256,
Expand Down

0 comments on commit b906ab9

Please sign in to comment.