diff --git a/.github/workflows/NuGet-tag-publish.yml b/.github/workflows/NuGet-tag-publish.yml index 85df85c..7d47a92 100644 --- a/.github/workflows/NuGet-tag-publish.yml +++ b/.github/workflows/NuGet-tag-publish.yml @@ -12,6 +12,14 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 3.1.x + 5.0.x + 6.0.x + 7.0.x - name: Install dotnet tool run: dotnet tool update -g dotnetCampus.TagToVersion diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 6b3f85d..56aacc2 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -9,7 +9,15 @@ jobs: steps: - uses: actions/checkout@v2 - + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 3.1.x + 5.0.x + 6.0.x + 7.0.x + - name: Build with dotnet run: dotnet build --configuration Release diff --git a/CopyAfterCompileTool/CopyAfterCompileTool/CopyAfterCompileTool.csproj b/CopyAfterCompileTool/CopyAfterCompileTool/CopyAfterCompileTool.csproj index 558d6c4..d0e96b4 100644 --- a/CopyAfterCompileTool/CopyAfterCompileTool/CopyAfterCompileTool.csproj +++ b/CopyAfterCompileTool/CopyAfterCompileTool/CopyAfterCompileTool.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 diff --git a/CopyAfterCompileTool/CopyAfterCompileToolTests/CopyAfterCompileToolDemo/CopyAfterCompileToolDemo.csproj b/CopyAfterCompileTool/CopyAfterCompileToolTests/CopyAfterCompileToolDemo/CopyAfterCompileToolDemo.csproj index a9b3ddd..e5c90ab 100644 --- a/CopyAfterCompileTool/CopyAfterCompileToolTests/CopyAfterCompileToolDemo/CopyAfterCompileToolDemo.csproj +++ b/CopyAfterCompileTool/CopyAfterCompileToolTests/CopyAfterCompileToolDemo/CopyAfterCompileToolDemo.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 diff --git a/Directory.Build.props b/Directory.Build.props index 0585a99..21a15fe 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,7 +8,7 @@ https://github.com/dotnet-campus/dotnetcampus.DotNETBuildSDK git https://github.com/dotnet-campus/dotnetcampus.DotNETBuildSDK - Copyright © 2021 dotnet campus, All Rights Reserved. + Copyright © 2021-2023 dotnet campus, All Rights Reserved. 提供dotnet打包方法 MIT diff --git a/GitLab/GitLabCodeFormatBot/GitLabCodeFormatBot.csproj b/GitLab/GitLabCodeFormatBot/GitLabCodeFormatBot.csproj index 82521cc..e38ca49 100644 --- a/GitLab/GitLabCodeFormatBot/GitLabCodeFormatBot.csproj +++ b/GitLab/GitLabCodeFormatBot/GitLabCodeFormatBot.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 true AutomateFormatCodeAndCreateGitLabMergeRequest diff --git a/GitLab/GitLabMergeRequestCreator/GitLabMergeRequestCreator.csproj b/GitLab/GitLabMergeRequestCreator/GitLabMergeRequestCreator.csproj index 5b7e111..bfbcd9e 100644 --- a/GitLab/GitLabMergeRequestCreator/GitLabMergeRequestCreator.csproj +++ b/GitLab/GitLabMergeRequestCreator/GitLabMergeRequestCreator.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 true CreateGitLabMergeRequest diff --git a/PublishFolderCleaner/PublishFolderCleaner/PublishFolderCleaner.csproj b/PublishFolderCleaner/PublishFolderCleaner/PublishFolderCleaner.csproj index fb209a5..e728a9b 100644 --- a/PublishFolderCleaner/PublishFolderCleaner/PublishFolderCleaner.csproj +++ b/PublishFolderCleaner/PublishFolderCleaner/PublishFolderCleaner.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 false diff --git a/RegexReplaceTask/RegexReplaceTask.csproj b/RegexReplaceTask/RegexReplaceTask.csproj index 97e7de9..893d15f 100644 --- a/RegexReplaceTask/RegexReplaceTask.csproj +++ b/RegexReplaceTask/RegexReplaceTask.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net7.0 enable enable true diff --git a/RunWithConfigValueTask/RunWithConfigValueTask.csproj b/RunWithConfigValueTask/RunWithConfigValueTask.csproj index 5076a66..71996b0 100644 --- a/RunWithConfigValueTask/RunWithConfigValueTask.csproj +++ b/RunWithConfigValueTask/RunWithConfigValueTask.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net7.0 true RunWithConfigValueTask dotnetCampus.RunWithConfigValueTask diff --git a/Tests/RegexReplaceTask.Tests/RegexReplaceTask.Tests.csproj b/Tests/RegexReplaceTask.Tests/RegexReplaceTask.Tests.csproj index a7b88c2..64d6695 100644 --- a/Tests/RegexReplaceTask.Tests/RegexReplaceTask.Tests.csproj +++ b/Tests/RegexReplaceTask.Tests/RegexReplaceTask.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 false diff --git a/Tests/RunWithConfigValueTask.Tests/RunWithConfigValueTask.Tests.csproj b/Tests/RunWithConfigValueTask.Tests/RunWithConfigValueTask.Tests.csproj index 1244d59..08c2643 100644 --- a/Tests/RunWithConfigValueTask.Tests/RunWithConfigValueTask.Tests.csproj +++ b/Tests/RunWithConfigValueTask.Tests/RunWithConfigValueTask.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 false