Skip to content

Commit 596462a

Browse files
committed
Update publish.yml
1 parent d27594b commit 596462a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ jobs:
4545
run: |
4646
dotnet nuget push ./nupkg/*.nupkg \
4747
--api-key ${{ steps.login.outputs.NUGET_API_KEY }} \
48-
--source https://api.nuget.org/v3/index.json
48+
--source https://api.nuget.org/v3/index.json \
49+
--skip-duplicate
4950
5051
- name: Publish to GitHub Packages
5152
run: |
5253
dotnet nuget push ./nupkg/*.nupkg \
5354
--api-key ${{ secrets.GITHUB_TOKEN }} \
54-
--source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
55+
--source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
56+
--skip-duplicate

0 commit comments

Comments
 (0)