You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by hs...@apache.org on 2026/06/16 13:34:13 UTC
(casbin-Casbin.NET) branch master updated: fix: add api key and timeout for github nuget push
This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-Casbin.NET.git
The following commit(s) were added to refs/heads/master by this push:
new 73dde62 fix: add api key and timeout for github nuget push
73dde62 is described below
commit 73dde6279a60cc399a4a5db0bac1ce48f7565fb3
Author: Yang Luo <hs...@gmail.com>
AuthorDate: Tue Jun 16 21:34:04 2026 +0800
fix: add api key and timeout for github nuget push
---
.github/workflows/release.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fbb7714..5c34358 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -162,7 +162,7 @@ jobs:
run: dotnet nuget add source https://nuget.pkg.github.com/apache/index.json --name github.com --username apache --password $env:GITHUB_TOKEN
- name: Push packages to github.com
- run: dotnet nuget push .\packages\*.nupkg -s github.com --skip-duplicate;
+ run: dotnet nuget push .\packages\*.nupkg -s github.com -k $env:GITHUB_TOKEN --skip-duplicate --timeout 600;
- name: Push packages to nuget.org
run: dotnet nuget push .\packages\*.nupkg -s nuget.org -k $env:NUGET_API_TOKEN --skip-duplicate
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org