Browse Source

Fix build workflow (#3041)

pull/3042/head
Michał Chęciński 3 years ago committed by GitHub
parent
commit
1ab7560a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/build.yml

6
.github/workflows/build.yml

@ -555,7 +555,7 @@ jobs: @@ -555,7 +555,7 @@ jobs:
owner: 'bitwarden',
repo: 'self-host',
workflow_id: 'build-self-host.yml',
ref: 'DEVOPS-1204-Migrate_Build_pipeline_to_self-host_repo',
ref: 'master',
inputs: {
server_branch: '${{ github.ref }}'
}
@ -573,6 +573,7 @@ jobs: @@ -573,6 +573,7 @@ jobs:
- build-docker
- upload
- build-mssqlmigratorutility
- trigger-self-host-build
steps:
- name: Check if any job failed
if: |
@ -587,6 +588,7 @@ jobs: @@ -587,6 +588,7 @@ jobs:
BUILD_DOCKER_STATUS: ${{ needs.build-docker.result }}
UPLOAD_STATUS: ${{ needs.upload.result }}
BUILD_MSSQLMIGRATORUTILITY_STATUS: ${{ needs.build-mssqlmigratorutility.result }}
TRIGGER_SELF_HOST_BUILD_STATUS: ${{ needs.trigger-self-host-build.result }}
run: |
if [ "$CLOC_STATUS" = "failure" ]; then
exit 1
@ -602,6 +604,8 @@ jobs: @@ -602,6 +604,8 @@ jobs:
exit 1
elif [ "$BUILD_MSSQLMIGRATORUTILITY_STATUS" = "failure" ]; then
exit 1
elif [ "$TRIGGER_SELF_HOST_BUILD_STATUS" = "failure" ]; then
exit 1
fi
- name: Login to Azure - CI subscription

Loading…
Cancel
Save