build: include .NET 8

This commit is contained in:
Kyle Ratti 2023-12-17 13:47:03 -05:00
parent a2a8e6fb1e
commit c3598a61ed
No known key found for this signature in database
GPG Key ID: 4D429B6287C68DD9
6 changed files with 11 additions and 8 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x', '6.0.x']
dotnet-version: ['8.0.x', '7.0.x', '6.0.x']
steps:
- uses: actions/checkout@v2
@ -22,6 +22,7 @@ jobs:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build

View File

@ -21,7 +21,7 @@ jobs:
fetch-depth: '0' # Load entire history
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
dotnet-version: '8.x'
- run: dotnet tool restore
- name: Generate Version
id: generate-version

View File

@ -5,7 +5,8 @@
<IsPackable>false</IsPackable>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>12</LangVersion>
</PropertyGroup>
<ItemGroup>

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
<LangVersion>10</LangVersion>
<LangVersion>12</LangVersion>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>FruityFoundation.Base</RootNamespace>
@ -16,7 +16,7 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<AssemblyName>FruityFoundation.Base</AssemblyName>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<None Include="..\LICENSE" Pack="true" PackagePath="" />

View File

@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RootNamespace>FruityFoundation.Db</RootNamespace>
<LangVersion>6.0</LangVersion>
<LangVersion>8.0</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>FruityFoundation.Db</PackageId>
<Authors>Kyle Ratti</Authors>
@ -14,6 +13,7 @@
<Version>1.5.0</Version>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>

View File

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RootNamespace>FruityFoundation.FsBase</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@ -10,6 +9,8 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>1.5.0</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup>