Skip to content

Commit

Permalink
Let workflow fail if any job fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Nov 18, 2024
1 parent 465eb83 commit 976aa44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ jobs:
name: Test publishing packages succeeded
runs-on: ubuntu-latest
steps:
- name: Print outputs
run: echo "${{ needs.test_release.result }}"
- name: Check for success
run: [ "$(echo ${{ needs.test_release.result }}" == "failure" ] && exit 1

0 comments on commit 976aa44

Please sign in to comment.