Skip to content

Commit 2c44780

Browse files
committed
Use GITHUB_TOKEN when publishing NuGet packages
1 parent 998deee commit 2c44780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: dotnet nuget push output/nuget/**/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
6161

6262
- name: Push package to GitHub
63-
run: dotnet nuget push output/nuget/**/*.nupkg --api-key ${{ secrets.ACCESS_TOKEN }} --source https://nuget.pkg.github.com/isc30/index.json --skip-duplicate
63+
run: dotnet nuget push output/nuget/**/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/isc30/index.json --skip-duplicate
6464

6565
- name: Prepare for Github Pages deployment
6666
run: find output/demo -name "*.gitignore" -type f -print0 | xargs -0 /bin/rm -f

0 commit comments

Comments
 (0)