diff --git a/.github/workflows/PublishNuget.yml b/.github/workflows/PublishNuget.yml index 78ee8ed..e205dde 100644 --- a/.github/workflows/PublishNuget.yml +++ b/.github/workflows/PublishNuget.yml @@ -16,7 +16,11 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 3.1.300 + dotnet-version: | + 3.1.x + 5.0.x + 6.0.x + 8.0.x - name: Install tool run: dotnet tool install -g dotnetCampus.TagToVersion diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4920012..6184032 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -16,6 +16,7 @@ jobs: 3.1.x 5.0.x 6.0.x + 8.0.x - name: Build with dotnet run: | dotnet restore diff --git a/Directory.Build.props b/Directory.Build.props index 719ae2f..d381537 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,7 +8,7 @@ enable false 将 YAML 文件转 C# 代码 - Copyright (c) 2020 dotnet-campus + Copyright (c) 2020-2024 dotnet-campus https://github.com/dotnet-campus/dotnetCampus.YamlToCSharp https://github.com/dotnet-campus/dotnetCampus.YamlToCSharp git diff --git a/samples/dotnetCampus.YamlToCSharp.Sample.Wpf/dotnetCampus.YamlToCSharp.Sample.Wpf.csproj b/samples/dotnetCampus.YamlToCSharp.Sample.Wpf/dotnetCampus.YamlToCSharp.Sample.Wpf.csproj index 2d8fcbd..694f1b5 100644 --- a/samples/dotnetCampus.YamlToCSharp.Sample.Wpf/dotnetCampus.YamlToCSharp.Sample.Wpf.csproj +++ b/samples/dotnetCampus.YamlToCSharp.Sample.Wpf/dotnetCampus.YamlToCSharp.Sample.Wpf.csproj @@ -4,7 +4,7 @@ WinExe - net48;netcoreapp3.1 + net8.0-windows true dotnetCampus.YamlToCSharp False diff --git a/samples/dotnetCampus.YamlToCSharp.SourceGeneration.Sample/dotnetCampus.YamlToCSharp.SourceGeneration.Sample.csproj b/samples/dotnetCampus.YamlToCSharp.SourceGeneration.Sample/dotnetCampus.YamlToCSharp.SourceGeneration.Sample.csproj index 5464327..f4b6dec 100644 --- a/samples/dotnetCampus.YamlToCSharp.SourceGeneration.Sample/dotnetCampus.YamlToCSharp.SourceGeneration.Sample.csproj +++ b/samples/dotnetCampus.YamlToCSharp.SourceGeneration.Sample/dotnetCampus.YamlToCSharp.SourceGeneration.Sample.csproj @@ -2,7 +2,7 @@ WinExe - net6.0-windows + net8.0-windows enable diff --git a/src/dotnetCampus.YamlToCSharp.Build/dotnetCampus.YamlToCSharp.Build.csproj b/src/dotnetCampus.YamlToCSharp.Build/dotnetCampus.YamlToCSharp.Build.csproj index 42623db..e4a270c 100644 --- a/src/dotnetCampus.YamlToCSharp.Build/dotnetCampus.YamlToCSharp.Build.csproj +++ b/src/dotnetCampus.YamlToCSharp.Build/dotnetCampus.YamlToCSharp.Build.csproj @@ -2,7 +2,7 @@ Exe - net45;netstandard2.0;netcoreapp3.1 + net8.0 true false dotnetCampus.YamlToCSharp @@ -25,14 +25,14 @@ - + - + - <_DCYB_ToCopyFiles Include="$(OutputPath)\netcoreapp3.1\**" /> + <_DCYB_ToCopyFiles Include="$(OutputPath)**" />