Skip to content

Commit

Permalink
Update post-build step to check for matrix status
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl committed Aug 1, 2024
1 parent e67989f commit 43afc0e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
name: Post-build
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- uses: actions/checkout@v4
- name: Merge changes from the matrix build
id: merge-changes
uses: ./.github/actions/merge-changes
- name: Check build matrix status
if: ${{ needs.build.result != 'success' }}
run: exit 1

analyse:
name: Analyse
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,18 @@ jobs:
name: ${{ matrix.project }}
path: projects/${{ matrix.project }}/tech-docs/build

post-build:
name: Post-build
runs-on: ubuntu-latest
needs:
- build-index
- build-projects
if: always()
steps:
- name: Check build matrix status
if: ${{ needs.*.result != 'success' }}
run: exit 1

deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down

0 comments on commit 43afc0e

Please sign in to comment.