Skip to content

Commit e447fe5

Browse files
committed
#104 Upgrade to .NET 6
1 parent 44d7cc5 commit e447fe5

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
- uses: actions/checkout@v2
1616

1717
- name: Setup .NET SDK
18-
uses: actions/setup-dotnet@v1.7.2
18+
uses: actions/setup-dotnet@v4.0.0
1919
with:
20-
dotnet-version: 5.0.x
20+
dotnet-version: |
21+
5.0.x
22+
6.0.x
2123
2224
- name: Restore
2325
run: dotnet restore
@@ -26,4 +28,6 @@ jobs:
2628
run: dotnet build --configuration Release --no-restore
2729

2830
- name: Test
29-
run: dotnet test --no-restore --framework net5.0
31+
run: |
32+
dotnet test --no-restore --framework net5.0
33+
dotnet test --no-restore --framework net6.0

WebPush.Test/WebPush.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net46;net471;net48;net5.0;netcoreapp2.0;netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>net45;net46;net471;net48;netcoreapp2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

WebPush/WebPush.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net46;net471;net48;net5.0;netstandard1.3;netstandard2.0;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net45;net46;net471;net48;netstandard1.3;netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<Version>1.0.12</Version>
77
<Authors>Cory Thompson</Authors>

0 commit comments

Comments
 (0)