Skip to content

Commit 6fba8d6

Browse files
committed
Update release.yml
Use nuget api key in release workflow
1 parent fc36030 commit 6fba8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
3737
- name: Publish to nuget.org
3838
env:
39-
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
40-
run: nuget push artifacts\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey $NUGET_API_KEY
39+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
40+
run: nuget push artifacts\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{ env.NUGET_API_KEY }}

0 commit comments

Comments
 (0)