Skip to content

Commit 93bdf8b

Browse files
committed
a
1 parent 3cc037e commit 93bdf8b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@ jobs:
1818
dotnet-version: '10.0.x' # 可根据你的项目适当调整
1919

2020
- name: Restore dependencies
21-
run: dotnet restore src
21+
run: |
22+
for proj in src/**/*.csproj; do
23+
dotnet restore "$proj"
24+
done
2225
2326
- name: Build
24-
run: dotnet build src --configuration Release --no-restore
27+
run: |
28+
for proj in src/**/*.csproj; do
29+
dotnet build "$proj" --configuration Release --no-restore
30+
done
2531
2632
- name: Pack all projects in src
2733
run: |

0 commit comments

Comments
 (0)