From 0a52fc3f2e30e080440f07d021458d9abbf0f83a Mon Sep 17 00:00:00 2001 From: danilapog Date: Tue, 30 Aug 2022 14:05:10 +0300 Subject: [PATCH] Build: Set job fail status if some build failed --- .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