Skip to content

Commit 82b0049

Browse files
committed
update github token
1 parent ab11920 commit 82b0049

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ jobs:
8080
with:
8181
name: nupkgs
8282
- name: Push to GitHub
83-
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/phnx47/index.json -k ${{ secrets.GH_PKG_PAT }}
83+
run: |
84+
dotnet nuget push "**/*.nupkg" \
85+
--skip-duplicate \
86+
-k ${{ secrets.GITHUB_TOKEN }} \
87+
-s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
8488
8589
nuget:
8690
name: Deploy to NuGet
@@ -93,4 +97,7 @@ jobs:
9397
with:
9498
name: nupkgs
9599
- name: Push to NuGet
96-
run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
100+
run: |
101+
dotnet nuget push "**/*.nupkg" \
102+
-k ${{ secrets.NUGET_KEY }} \
103+
-s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)