Skip to content

Commit

Permalink
update to .net 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingBallyhoo committed Nov 27, 2024
1 parent f2d6280 commit c2f080a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install .NET 8
- name: Install .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
- name: Restore project
run: dotnet restore TACTLib.sln --verbosity m -r win-x64
- name: Build Release
run: dotnet publish -f net8.0 --configuration Release -r win-x64 --self-contained false -o dist/Release
run: dotnet publish -f net9.0 --configuration Release -r win-x64 --self-contained false -o dist/Release
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: TACTLib-release
path: dist/Release
- name: Build Debug
run: dotnet publish -f net8.0 --configuration Debug -r win-x64 --self-contained false -o dist/Debug
run: dotnet publish -f net9.0 --configuration Debug -r win-x64 --self-contained false -o dist/Debug
- name: Upload Debug
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion TACTLib/TACTLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<LangVersion>preview</LangVersion>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>1.0.0.0</Version>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion TACTLibTest/TACTLibTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\TACTLib\TACTLib.csproj" />
Expand Down

0 comments on commit c2f080a

Please sign in to comment.