Skip to content

Commit 28d99de

Browse files
author
vicwjb
committed
更新 nuget-publish.yml 文件,调整 NuGet 包发布工作流
1 parent 4c6970c commit 28d99de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/nuget-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141

4242
# 需在github库中设置${{ secrets.NUGET_API_KEY }}
4343
- name: Publish NuGet package
44-
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
44+
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_AUTH_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)