Skip to content

Commit 1f418d4

Browse files
Loop pack
1 parent 29fe939 commit 1f418d4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build-and-release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ jobs:
4444
- name: Create NuGet packages
4545
if: github.event_name != 'pull_request'
4646
run: |
47-
dotnet pack **/**/*.csproj \
48-
--configuration ${{ env.BuildConfiguration }} \
49-
--no-build \
50-
--output ./artifacts \
51-
-p:PackageVersion=${{ env.PackageVersion }} \
52-
--include-symbols
47+
for project in src/**/*.csproj; do
48+
dotnet pack "$project" \
49+
--configuration ${{ env.BuildConfiguration }} \
50+
--no-build \
51+
--output ./artifacts \
52+
-p:PackageVersion=${{ env.PackageVersion }} \
53+
--include-symbols
54+
done
5355
shell: bash
5456

5557
- name: Copy release notes

0 commit comments

Comments
 (0)