Skip to content

Commit

Permalink
Adding a .NET 9 target, relaxing Nuget versions, bumping to 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Nov 18, 2024
1 parent 0432255 commit b3427e5
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Setup .NET 9
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x

- name: Install Node.js
uses: actions/setup-node@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,10 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Setup .NET 9
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x

- name: Build Script
run: dotnet run -p build/build.csproj -- ci
5 changes: 5 additions & 0 deletions .github/workflows/publish_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Setup .NET 9
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x

- name: Pack
run: dotnet pack src/Oakton/Oakton.csproj --configuration Release

Expand Down
6 changes: 3 additions & 3 deletions src/Oakton/Oakton.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<PropertyGroup>
<Description>Command Line Parsing and Execution</Description>
<AssemblyTitle>Oakton</AssemblyTitle>
<PackageVersion>6.2.1</PackageVersion>
<PackageVersion>6.3.0</PackageVersion>
<Authors>Jeremy D. Miller</Authors>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<DebugType>portable</DebugType>
<AssemblyName>Oakton</AssemblyName>
<OutputType>Library</OutputType>
Expand All @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="JasperFx.Core" Version="1.5.1" />
<PackageReference Include="Spectre.Console" Version="0.47.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,9.0.0)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,10.0.0)" />
</ItemGroup>

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

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit b3427e5

Please sign in to comment.