Skip to content

Commit ef2c6c5

Browse files
authored
Merge pull request #480 from watson-developer-cloud/gha_nugetfix
ci: fix nuget push
2 parents ee36335 + 32299ad commit ef2c6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
# I think we can publish everytime because trying to push up a duplicate will fail with already exists and cannot be modified (409)
133133
# However we will try a new technique and only push if semantic release created a new release
134134
- name: Publish to Nuget
135-
if: ${{ steps.is_new_release.outputs.IS_NEW_RELEASE == '1' }}
135+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
136136
continue-on-error: true
137137
env:
138138
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}

0 commit comments

Comments
 (0)