We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1743bc3 commit 11cae11Copy full SHA for 11cae11
1 file changed
.github/workflows/release.yml
@@ -79,13 +79,8 @@ jobs:
79
- name: Push to NuGet.org
80
shell: pwsh
81
run: |
82
- $key = "${{ secrets.NUGET_API_KEY }}"
83
- 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 `
+ dotnet nuget push artifacts/*.nupkg `
+ --api-key ${{ secrets.NUGET_API_KEY }} `
89
--source https://api.nuget.org/v3/index.json `
90
--skip-duplicate
91
0 commit comments