diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index 3c4e676..240e387 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -30,7 +30,8 @@ jobs: # run this job only if the tests pass release: - if: ${{ !failure() }} + needs: tests + if: ${{ needs.tests.result == 'success' }} name: Release runs-on: ubuntu-latest permissions: