Skip to content

Commit

Permalink
Merge pull request #95 from dotnet-campus/t/lindexi/dotnet
Browse files Browse the repository at this point in the history
全面更新框架
  • Loading branch information
walterlv authored Aug 9, 2023
2 parents ea5ea1f + eb2409c commit b88d8e2
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/NuGet-tag-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

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>net7.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
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>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RepositoryUrl>https://github.com/dotnet-campus/dotnetcampus.DotNETBuildSDK</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/dotnet-campus/dotnetcampus.DotNETBuildSDK</PackageProjectUrl>
<Copyright>Copyright © 2021 dotnet campus, All Rights Reserved.</Copyright>
<Copyright>Copyright © 2021-2023 dotnet campus, All Rights Reserved.</Copyright>
<Description>提供dotnet打包方法</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion GitLab/GitLabCodeFormatBot/GitLabCodeFormatBot.csproj
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>net7.0</TargetFramework>

<PackAsTool>true</PackAsTool>
<ToolCommandName>AutomateFormatCodeAndCreateGitLabMergeRequest</ToolCommandName>
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>net7.0</TargetFramework>

<PackAsTool>true</PackAsTool>
<ToolCommandName>CreateGitLabMergeRequest</ToolCommandName>
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>net7.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion RegexReplaceTask/RegexReplaceTask.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackAsTool>true</PackAsTool>
Expand Down
2 changes: 1 addition & 1 deletion RunWithConfigValueTask/RunWithConfigValueTask.csproj
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>net7.0</TargetFramework>
<PackAsTool>true</PackAsTool>
<ToolCommandName>RunWithConfigValueTask</ToolCommandName>
<AssemblyName>dotnetCampus.RunWithConfigValueTask</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion Tests/RegexReplaceTask.Tests/RegexReplaceTask.Tests.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>
<TargetFramework>net7.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
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>net7.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit b88d8e2

Please sign in to comment.