From 1ab7560a8692d428f25abb8a44a39cc916af5d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?= Date: Fri, 23 Jun 2023 16:54:41 +0200 Subject: [PATCH] Fix build workflow (#3041) --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32856df6e..d95fade20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: - build-docker - upload - build-mssqlmigratorutility + - trigger-self-host-build steps: - name: Check if any job failed if: | @@ -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: 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