Skip to content

Commit

Permalink
Make nuget push ignore duplicates so we can keep rebuilding until Git…
Browse files Browse the repository at this point in the history
…hub Actions complete...
  • Loading branch information
jas88 committed Feb 22, 2021
1 parent 2fb1c03 commit 1f9bf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
(cd win-x64 && zip -9r ../badmedicine-cli-win-x64.zip .)
- name: Nuget push
if: contains(github.ref,'refs/tags/')
run: (cd BadMedicine.Core && nuget push HIC.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }})
run: (cd BadMedicine.Core && nuget push HIC.*.nupkg -skipDuplicate -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }})
- name: Upload release binaries
if: contains(github.ref,'refs/tags/')
uses: alexellis/upload-assets@0.2.2
Expand Down

0 comments on commit 1f9bf7d

Please sign in to comment.