Skip to content

Commit b3aec27

Browse files
committed
CCM-11751: Package and publish modules to Github
1 parent cf9309d commit b3aec27

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ jobs:
131131
name: "Publish stage"
132132
needs: [metadata, acceptance-stage]
133133
uses: ./.github/workflows/stage-5-publish.yaml
134-
if: github.event_name == 'push'
134+
if: >-
135+
always() &&
136+
github.event_name == 'push' &&
137+
!cancelled() &&
138+
!contains(needs.*.result, 'cancelled') &&
139+
!contains(needs.*.result, 'failure')
135140
with:
136141
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
137142
build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"

0 commit comments

Comments
 (0)