mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-26 12:16:07 +01:00
Update Failure Job (#3055)
This commit is contained in:
parent
19f238d9bb
commit
fd233fa27f
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -762,27 +762,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check if any job failed
|
- name: Check if any job failed
|
||||||
if: |
|
if: |
|
||||||
(github.ref == 'refs/heads/main')
|
(github.ref == 'refs/heads/main'
|
||||||
|| (github.ref == 'refs/heads/rc')
|
|| github.ref == 'refs/heads/rc'
|
||||||
|| (github.ref == 'refs/heads/hotfix-rc')
|
|| github.ref == 'refs/heads/hotfix-rc')
|
||||||
env:
|
&& contains(needs.*.result, 'failure')
|
||||||
CLOC_STATUS: ${{ needs.cloc.result }}
|
run: exit 1
|
||||||
ANDROID_STATUS: ${{ needs.android.result }}
|
|
||||||
F_DROID_STATUS: ${{ needs.f-droid.result }}
|
|
||||||
IOS_STATUS: ${{ needs.ios.result }}
|
|
||||||
CROWDIN_PUSH_STATUS: ${{ needs.crowdin-push.result }}
|
|
||||||
run: |
|
|
||||||
if [ "$CLOC_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
elif [ "$ANDROID_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
elif [ "$F_DROID_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
elif [ "$IOS_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
elif [ "$CROWDIN_PUSH_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Login to Azure - CI Subscription
|
- name: Login to Azure - CI Subscription
|
||||||
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
|
||||||
|
Loading…
Reference in New Issue
Block a user