Skip to content

Commit

Permalink
Update .github/workflows/build.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Costello <[email protected]>
  • Loading branch information
gkinsman and martincostello authored Sep 9, 2020
1 parent 08148b6 commit 68a31f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ jobs:

- name: Publish pre-release NuGet packages to GitHub packages
run: dotnet nuget push "artifacts\packages\*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --source https://nuget.pkg.github.com/justeat/index.json
if: ${{ github.repository_owner == 'justeat' && runner.os == 'Windows' }}
continue-on-error: true
if: ${{ github.repository_owner == 'justeat' && github.ref == 'refs/heads/master' && runner.os == 'Windows' }}

- name: Push NuGet packages to NuGet.org
run: dotnet nuget push "artifacts\packages\*.nupkg" --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source https://api.nuget.org/v3/index.json
Expand Down

0 comments on commit 68a31f3

Please sign in to comment.