Skip to content

Commit bcf24ce

Browse files
authored
Add workaround for NuGet.org .snupkg rejection
Added a workaround to remove .snupkg files without .pdb.
1 parent ae90ccd commit bcf24ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
id: login
5656
with:
5757
user: ${{ secrets.NUGET_USER }}
58+
# WORKAROUND: NuGet.org rejects `.snupkg` that do not contian `.pdb` files.
59+
- run: rm ./publish/MagicOnion.${{ inputs.tag }}.snupkg
5860
- run: dotnet nuget push "./publish/*.nupkg" --skip-duplicate -s https://api.nuget.org/v3/index.json -k "${NUGET_KEY}"
5961
if: ${{ !inputs.dry-run }}
6062
env:

0 commit comments

Comments
 (0)