Build: Set job fail status if some build failed (#488)
This commit is contained in:
parent
207bd5dac7
commit
3626f8cc6c
2 changed files with 4 additions and 6 deletions
3
.github/workflows/4testing-build.yml
vendored
3
.github/workflows/4testing-build.yml
vendored
|
@ -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
|
||||
|
|
7
.github/workflows/stable-build.yml
vendored
7
.github/workflows/stable-build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue