make pr check requirements easier

This commit is contained in:
Jason N. 2024-02-19 10:15:22 -05:00
parent c720fb3dc5
commit 5ab0abdb2f
2 changed files with 30 additions and 0 deletions

View File

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

View File

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