make pr check requirements easier
This commit is contained in:
parent
c720fb3dc5
commit
5ab0abdb2f
|
@ -35,3 +35,18 @@ jobs:
|
|||
support: ${{ matrix.support }}
|
||||
signing_key: ${{ secrets.SIGNING_SECRET }}
|
||||
continue-on-error: false
|
||||
|
||||
check:
|
||||
name: Check build successful
|
||||
if: ${{ !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- push-image
|
||||
steps:
|
||||
- name: Exit on failure for main
|
||||
if: ${{ needs.push-image.result == 'failure' || needs.push-image.result == 'skipped' }}
|
||||
shell: bash
|
||||
run: exit 1
|
||||
- name: Exit
|
||||
shell: bash
|
||||
run: exit 0
|
|
@ -51,3 +51,18 @@ jobs:
|
|||
VERSION: ${{ matrix.version }}
|
||||
ACTION_REPO: ${{ github.repository }}
|
||||
ACTION_REF: ${{ github.ref }}
|
||||
|
||||
check:
|
||||
name: Check build successful
|
||||
if: ${{ !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-and-push-iso
|
||||
steps:
|
||||
- name: Exit on failure for main
|
||||
if: ${{ needs.build-and-push-iso.result == 'failure' || needs.build-and-push-iso.result == 'skipped' }}
|
||||
shell: bash
|
||||
run: exit 1
|
||||
- name: Exit
|
||||
shell: bash
|
||||
run: exit 0
|
Loading…
Reference in New Issue