Skip to content

Commit 8cb42b1

Browse files
Merge pull request #7 from EAVFW/tst/net8.0
feat: Upgrade to net8.0
2 parents 0350081 + e43af6a commit 8cb42b1

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- name: Checkout code base
1515
uses: actions/checkout@v2
1616

17-
- uses: actions/setup-dotnet@v1
17+
- uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: '6.0.x'
19+
dotnet-version: '8.0.x'
2020

2121
- name: Cleaning
2222
run: dotnet clean

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- name: Checkout repo
1515
uses: actions/checkout@v2
1616

17-
- uses: actions/setup-dotnet@v1
17+
- uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: '6.0.x'
19+
dotnet-version: '8.0.x'
2020

2121
- uses: actions/setup-node@v2
2222
with:

src/EAVFW.Extensions.CommandLine/EAVFW.Extensions.CommandLine.csproj

Lines changed: 6 additions & 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>netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
55
<Title>EAVFW.Extensions.CommandLine</Title>
66
<Authors>Poul Kjeldager</Authors>
77
<Description>System.CommandLine Extensions for building better CLIs</Description>
@@ -27,4 +27,9 @@
2727
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
2828
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
2929
</ItemGroup>
30+
31+
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
32+
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
34+
</ItemGroup>
3035
</Project>

0 commit comments

Comments
 (0)