Skip to content

Commit

Permalink
- Don't fail the build if pushing to github packages fails
Browse files Browse the repository at this point in the history
  • Loading branch information
gkinsman committed Sep 9, 2020
1 parent a7509c5 commit 08148b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,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

- 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 08148b6

Please sign in to comment.