From 3626f8cc6c697bc3a84a2c9b4b895d67f0c37a85 Mon Sep 17 00:00:00 2001 From: Danil Titarenko <77471369+danilapog@users.noreply.github.com> Date: Tue, 30 Aug 2022 14:33:23 +0300 Subject: [PATCH] Build: Set job fail status if some build failed (#488) --- .github/workflows/4testing-build.yml | 3 +-- .github/workflows/stable-build.yml | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/4testing-build.yml b/.github/workflows/4testing-build.yml index b5a9956..cd420b9 100644 --- a/.github/workflows/4testing-build.yml +++ b/.github/workflows/4testing-build.yml @@ -15,12 +15,11 @@ jobs: build: name: "Build image: DocumentServer${{ matrix.edition }}" runs-on: ubuntu-latest - continue-on-error: ${{ matrix.condition }} strategy: + fail-fast: false matrix: images: ["documentserver"] edition: ["", "-ee", "-de"] - condition: [true] steps: - name: Checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/stable-build.yml b/.github/workflows/stable-build.yml index 9d7f6df..34d27ad 100644 --- a/.github/workflows/stable-build.yml +++ b/.github/workflows/stable-build.yml @@ -14,12 +14,11 @@ jobs: build: name: "Release image: DocumentServer${{ matrix.edition }}" runs-on: ubuntu-latest - continue-on-error: ${{ matrix.condition }} strategy: + fail-fast: false matrix: images: ["documentserver-stable"] edition: ["", "-ee", "-de"] - condition: [true] steps: - name: Checkout code uses: actions/checkout@v3 @@ -70,12 +69,12 @@ jobs: name: "Release image: DocumentServer${{ matrix.edition }}-nonExample" runs-on: ubuntu-latest needs: [build] - continue-on-error: ${{ matrix.condition }} + if: always() strategy: + fail-fast: false matrix: images: ["documentserver-nonexample"] edition: ["", "-ee", "-de"] - condition: [true] steps: - name: Checkout code uses: actions/checkout@v3