We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcf619 commit 1743bc3Copy full SHA for 1743bc3
1 file changed
.github/workflows/release.yml
@@ -79,8 +79,13 @@ jobs:
79
- name: Push to NuGet.org
80
shell: pwsh
81
run: |
82
- dotnet nuget push artifacts/*.nupkg `
83
- --api-key ${{ secrets.NUGET_API_KEY }} `
+ $key = "${{ secrets.NUGET_API_KEY }}"
+ Write-Host "API key length: $($key.Length)"
84
+ Write-Host "API key first 4 chars: $($key.Substring(0, [Math]::Min(4, $key.Length)))..."
85
+ $pkg = Get-ChildItem artifacts/*.nupkg | Select-Object -First 1
86
+ Write-Host "Package: $($pkg.Name) ($($pkg.Length) bytes)"
87
+ dotnet nuget push $pkg.FullName `
88
+ --api-key $key `
89
--source https://api.nuget.org/v3/index.json `
90
--skip-duplicate
91
0 commit comments