Skip to content

Commit 73dde62

Browse files
committed
fix: add api key and timeout for github nuget push
1 parent 0e8693e commit 73dde62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
run: dotnet nuget add source https://nuget.pkg.github.com/apache/index.json --name github.com --username apache --password $env:GITHUB_TOKEN
163163

164164
- name: Push packages to github.com
165-
run: dotnet nuget push .\packages\*.nupkg -s github.com --skip-duplicate;
165+
run: dotnet nuget push .\packages\*.nupkg -s github.com -k $env:GITHUB_TOKEN --skip-duplicate --timeout 600;
166166

167167
- name: Push packages to nuget.org
168168
run: dotnet nuget push .\packages\*.nupkg -s nuget.org -k $env:NUGET_API_TOKEN --skip-duplicate

0 commit comments

Comments
 (0)