Skip to content

Commit

Permalink
fix push nuget step
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen committed Aug 2, 2021
1 parent 2ca5ea6 commit 2b156d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ jobs:

- name: Push NuGet
if: |
startsWith(github.event.ref, 'refs/tags/')
|| endsWith(github.event.ref, '/master')
github.event.action == 'published'
shell: pwsh
run: dotnet nuget push **/*.nupkg --source $Env:SOURCE --api-key $Env:TOKEN
run: dotnet nuget push **/*.nupkg --source $Env:SOURCE --api-key $Env:TOKEN --skip-duplicate
env:
SOURCE: 'https://api.nuget.org/v3/index.json'
TOKEN: ${{ secrets.NUGET_API_KEY }}

0 comments on commit 2b156d8

Please sign in to comment.