Skip to content

Commit b3427e5

Browse files
committed
Adding a .NET 9 target, relaxing Nuget versions, bumping to 6.3
1 parent 0432255 commit b3427e5

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
with:
2525
dotnet-version: 8.0.x
2626

27+
- name: Setup .NET 9
28+
uses: actions/setup-dotnet@v1
29+
with:
30+
dotnet-version: 9.0.x
31+
2732
- name: Install Node.js
2833
uses: actions/setup-node@v1
2934
with:

.github/workflows/dotnet.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ jobs:
3737
with:
3838
dotnet-version: 8.0.x
3939

40+
- name: Setup .NET 9
41+
uses: actions/setup-dotnet@v1
42+
with:
43+
dotnet-version: 9.0.x
44+
4045
- name: Build Script
4146
run: dotnet run -p build/build.csproj -- ci

.github/workflows/publish_nuget.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
with:
2424
dotnet-version: 8.0.x
2525

26+
- name: Setup .NET 9
27+
uses: actions/setup-dotnet@v1
28+
with:
29+
dotnet-version: 9.0.x
30+
2631
- name: Pack
2732
run: dotnet pack src/Oakton/Oakton.csproj --configuration Release
2833

src/Oakton/Oakton.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<PropertyGroup>
33
<Description>Command Line Parsing and Execution</Description>
44
<AssemblyTitle>Oakton</AssemblyTitle>
5-
<PackageVersion>6.2.1</PackageVersion>
5+
<PackageVersion>6.3.0</PackageVersion>
66
<Authors>Jeremy D. Miller</Authors>
7-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
7+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
88
<DebugType>portable</DebugType>
99
<AssemblyName>Oakton</AssemblyName>
1010
<OutputType>Library</OutputType>
@@ -19,7 +19,7 @@
1919
<ItemGroup>
2020
<PackageReference Include="JasperFx.Core" Version="1.5.1" />
2121
<PackageReference Include="Spectre.Console" Version="0.47.0" />
22-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,9.0.0)" />
22+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,10.0.0)" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

src/Tests/Tests.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>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)