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

View File

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

View File

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

View File

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

View File

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

View File

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