Skip to content

Commit 2b92768

Browse files
committed
Update release workflow to exclude symbol packages from NuGet push; add symbol package support in Yamlify.csproj
1 parent 4e887d4 commit 2b92768

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
shell: bash
5555
working-directory: ${{ matrix.project }}
5656
run: |
57-
find . -name '*.nupkg' | grep -v '.sources.nupkg' | parallel --jobs 0 'dotnet nuget push {} --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json'
57+
find . -name '*.nupkg' -not -name '*.symbols.nupkg' | parallel --jobs 0 'dotnet nuget push {} --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json'

src/Yamlify/Yamlify.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
<IncludeBuildOutput>true</IncludeBuildOutput>
2929
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3030
<NoWarn>$(NoWarn);CS1591</NoWarn>
31+
32+
<!-- Symbol package for debugging -->
33+
<IncludeSymbols>true</IncludeSymbols>
34+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
3135
</PropertyGroup>
3236

3337
<!-- Bundle source generator with main package -->

0 commit comments

Comments
 (0)