Skip to content

Commit 219e8d0

Browse files
authored
update github token (#76)
1 parent 90ead1d commit 219e8d0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ jobs:
5454
with:
5555
name: packages
5656
- name: Push to pkg.github.com
57-
run: dotnet nuget push "*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
57+
run: |
58+
dotnet nuget push "*.nupkg" \
59+
--skip-duplicate \
60+
-k ${{ secrets.GITHUB_TOKEN }} \
61+
-s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
5862
5963
release:
6064
name: Create GitHub release
@@ -85,4 +89,7 @@ jobs:
8589
with:
8690
name: packages
8791
- name: Push to nuget.org
88-
run: dotnet nuget push "*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
92+
run: |
93+
dotnet nuget push "*.nupkg" \
94+
-k ${{ secrets.NUGET_DEPLOY_KEY }} \
95+
-s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)