diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index 33171d4b9..501b147e4 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -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