Skip to content

Commit

Permalink
net8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
majorsilence committed Oct 3, 2024
1 parent 7eb0807 commit 03fbbc5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: \8.0.x
- name: Restore dependencies
run: dotnet restore TownSuite.MultiTenant.sln
- name: Build
run: dotnet build TownSuite.MultiTenant.sln --no-restore -c Release
- name: Test
run: cwd=`pwd` && dotnet vstest "TownSuite.MultiTenant.Tests/bin/Release/net6.0/TownSuite.MultiTenant.Tests.dll" --logger:"trx;LogFileName=$cwd/TownSuite.MultiTenant.Tests/bin/Release/net6.0/nunit-result.trx"
- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Publish
run: dotnet publish TownSuite.MultiTenant.Console -c Release -r linux-x64 -p:PublishReadyToRun=true --self-contained true -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
- name: Archive linux artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: TownSuite.MultiTenant.Console-linux-x64
path: |
Expand All @@ -41,19 +41,19 @@ jobs:
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore TownSuite.MultiTenant.sln
- name: Build
run: dotnet build TownSuite.MultiTenant.sln --no-restore -c Release
- name: Publish
run: dotnet publish TownSuite.MultiTenant.Console -c Release -r win-x64 -p:PublishReadyToRun=true --self-contained true -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
- name: Archive windows artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: TownSuite.MultiTenant.Console-win-x64
path: |
Expand All @@ -63,19 +63,19 @@ jobs:
mac-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore TownSuite.MultiTenant.sln
- name: Build
run: dotnet build TownSuite.MultiTenant.sln --no-restore -c Release
- name: Publish
run: dotnet publish TownSuite.MultiTenant.Console -c Release -r osx-x64 -p:PublishReadyToRun=true --self-contained true -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
- name: Archive mac artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: TownSuite.MultiTenant.Console-osx-x64
path: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.0.1</Version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

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

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>TownSuite.MultiTenant</PackageId>
Expand Down

0 comments on commit 03fbbc5

Please sign in to comment.