diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index 33171d4b9..5d64d7b06 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -61,5 +61,8 @@ 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: |- + if [[ "${{ needs.test_release.result }}" == "failure" ]]; then + exit 1 + fi