Build: Set job fail status if some build failed (#488)

This commit is contained in:
Danil Titarenko 2022-08-30 14:33:23 +03:00 committed by GitHub
parent 207bd5dac7
commit 3626f8cc6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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