Browse Source

Update Failure Job (#128)

pull/129/head
Opeyemi 2 years ago committed by GitHub
parent
commit
bcd1efd38a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      .github/workflows/release.yml

14
.github/workflows/release.yml

@ -154,18 +154,8 @@ jobs: @@ -154,18 +154,8 @@ jobs:
github.ref == 'refs/heads/main'
|| github.ref == 'refs/heads/rc'
|| github.ref == 'refs/heads/hotfix'
env:
RELEASE_DOCKER_STATUS: ${{ needs.release-docker.result }}
RELEASE_GITHUB_STATUS: ${{ needs.release-github.result }}
SETUP_STATUS: ${{ needs.setup.result }}
run: |
if [ "$RELEASE_DOCKER_STATUS" = "failure" ]; then
exit 1
elif [ "$RELEASE_GITHUB_STATUS" = "failure" ]; then
exit 1
elif [ "$SETUP_STATUS" = "failure" ]; then
exit 1
fi
&& contains(needs.*.result, 'failure')
run: exit 1
- name: Login to Azure - CI subscription
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0

Loading…
Cancel
Save