Skip to content

Commit

Permalink
update github token
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Jan 5, 2025
1 parent ab11920 commit 82b0049
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ jobs:
with:
name: nupkgs
- name: Push to GitHub
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/phnx47/index.json -k ${{ secrets.GH_PKG_PAT }}
run: |
dotnet nuget push "**/*.nupkg" \
--skip-duplicate \
-k ${{ secrets.GITHUB_TOKEN }} \
-s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
nuget:
name: Deploy to NuGet
Expand All @@ -93,4 +97,7 @@ jobs:
with:
name: nupkgs
- name: Push to NuGet
run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
run: |
dotnet nuget push "**/*.nupkg" \
-k ${{ secrets.NUGET_KEY }} \
-s https://api.nuget.org/v3/index.json

0 comments on commit 82b0049

Please sign in to comment.