Skip to content

Commit

Permalink
fix: use needs with condition because this issue actions/runner#491 (…
Browse files Browse the repository at this point in the history
  • Loading branch information
cbatista8a committed Jul 4, 2024
1 parent fada2da commit 6410933
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6410933

Please sign in to comment.