Browse Source

Update Failure Job (#224)

pull/226/head
Opeyemi 2 years ago committed by GitHub
parent
commit
9745acdc47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      .github/workflows/build-unified.yml

12
.github/workflows/build-unified.yml

@ -173,15 +173,11 @@ jobs: @@ -173,15 +173,11 @@ jobs:
steps:
- name: Check if any job failed
if: |
github.ref == 'refs/heads/main'
(github.ref == 'refs/heads/main'
|| github.ref == 'refs/heads/rc'
|| github.ref == 'refs/heads/hotfix-rc'
env:
BUILD_DOCKER_STATUS: ${{ needs.build-docker.result }}
run: |
if [ "$BUILD_DOCKER_STATUS" = "failure" ]; then
exit 1
fi
|| github.ref == 'refs/heads/hotfix-rc')
&& contains(needs.*.outcome, 'failure')
run: exit 1
- name: Login to Azure - CI subscription
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0

Loading…
Cancel
Save