Commit 477834f
Publish .snupkg symbols package to NuGet.org (#1345)
The .NET SDK csproj already builds a portable-PDB .snupkg alongside the main .nupkg (IncludeSymbols + SymbolPackageFormat=snupkg, with SourceLink), but the publish workflow only uploaded and pushed the .nupkg, so symbols never reached the NuGet.org symbol server.
Update the publish-dotnet job to include *.snupkg in the uploaded artifact, push the main .nupkg with --no-symbols, then explicitly push the .snupkg to https://api.nuget.org/v3/index.json (which dispatches to NuGet.org's symbol endpoint).
Closes #1213
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 38ca096 commit 477834f
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
146 | 150 | | |
147 | 151 | | |
148 | 152 | | |
| |||
0 commit comments