Build: Set job fail status if some build failed (#488)
This commit is contained in:
parent
207bd5dac7
commit
3626f8cc6c
3
.github/workflows/4testing-build.yml
vendored
3
.github/workflows/4testing-build.yml
vendored
|
@ -15,12 +15,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: "Build image: DocumentServer${{ matrix.edition }}"
|
name: "Build image: DocumentServer${{ matrix.edition }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: ${{ matrix.condition }}
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
images: ["documentserver"]
|
images: ["documentserver"]
|
||||||
edition: ["", "-ee", "-de"]
|
edition: ["", "-ee", "-de"]
|
||||||
condition: [true]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
7
.github/workflows/stable-build.yml
vendored
7
.github/workflows/stable-build.yml
vendored
|
@ -14,12 +14,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: "Release image: DocumentServer${{ matrix.edition }}"
|
name: "Release image: DocumentServer${{ matrix.edition }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: ${{ matrix.condition }}
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
images: ["documentserver-stable"]
|
images: ["documentserver-stable"]
|
||||||
edition: ["", "-ee", "-de"]
|
edition: ["", "-ee", "-de"]
|
||||||
condition: [true]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -70,12 +69,12 @@ jobs:
|
||||||
name: "Release image: DocumentServer${{ matrix.edition }}-nonExample"
|
name: "Release image: DocumentServer${{ matrix.edition }}-nonExample"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build]
|
needs: [build]
|
||||||
continue-on-error: ${{ matrix.condition }}
|
if: always()
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
images: ["documentserver-nonexample"]
|
images: ["documentserver-nonexample"]
|
||||||
edition: ["", "-ee", "-de"]
|
edition: ["", "-ee", "-de"]
|
||||||
condition: [true]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
Loading…
Reference in a new issue