Skip to content

Commit

Permalink
skip dup when push (kubernetes-client#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 authored Apr 4, 2022
1 parent 6ff5460 commit adbf587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:

- name: dotnet nuget push
run: |
dotnet nuget push pkg\*.nupkg -s https://nuget.pkg.github.com/$env:GITHUB_REPOSITORY_OWNER -k ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push pkg\*.nupkg -s https://www.nuget.org/ -k ${{ secrets.nuget_api_key }}
dotnet nuget push pkg\*.nupkg -s https://nuget.pkg.github.com/$env:GITHUB_REPOSITORY_OWNER -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
dotnet nuget push pkg\*.nupkg -s https://www.nuget.org/ -k ${{ secrets.nuget_api_key }} --skip-duplicate
- name: Delete Package Versions
uses: actions/delete-package-versions@v2
Expand Down

0 comments on commit adbf587

Please sign in to comment.