Skip to content

Commit df6e542

Browse files
committed
chore: split Directory.Build.props
1 parent b1db53b commit df6e542

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717
- name: Build
18-
run: dotnet build src/Cnblogs.DashScope.AspNetCore -c Release
18+
run: dotnet build src/Cnblogs.DashScope.AspNetCore -c Release -p:TargetFramework=net6.0
1919
- name: Test
20-
run: dotnet test test/Cnblogs.DashScope.Sdk.UnitTests -c Release
20+
run: dotnet test test/Cnblogs.DashScope.Sdk.UnitTests -c Release -p:TargetFramework=net6.0
2121
test-net8:
2222
runs-on: ubuntu-latest
2323
container: mcr.microsoft.com/dotnet/sdk:8.0
File renamed without changes.

test/Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<TargetFramework>net6.0</TargetFramework>
4+
<Nullable>enable</Nullable>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
</PropertyGroup>
7+
8+
</Project>

0 commit comments

Comments
 (0)