Skip to content

Commit

Permalink
#104 Upgrade to .NET 6
Browse files Browse the repository at this point in the history
  • Loading branch information
coryjthompson committed Feb 6, 2024
1 parent 44d7cc5 commit e447fe5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:
- uses: actions/checkout@v2

- name: Setup .NET SDK
uses: actions/setup-dotnet@v1.7.2
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: 5.0.x
dotnet-version: |
5.0.x
6.0.x
- name: Restore
run: dotnet restore
Expand All @@ -26,4 +28,6 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --framework net5.0
run: |
dotnet test --no-restore --framework net5.0
dotnet test --no-restore --framework net6.0
2 changes: 1 addition & 1 deletion WebPush.Test/WebPush.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;net46;net471;net48;net5.0;netcoreapp2.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net45;net46;net471;net48;netcoreapp2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion WebPush/WebPush.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;net46;net471;net48;net5.0;netstandard1.3;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net45;net46;net471;net48;netstandard1.3;netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.12</Version>
<Authors>Cory Thompson</Authors>
Expand Down

0 comments on commit e447fe5

Please sign in to comment.