Skip to content

Commit 82acbe5

Browse files
committed
Add needs.dist.result success to release conditional
1 parent 60dec89 commit 82acbe5

File tree

1 file changed

+1
-1
lines changed
  • template/{% if git_platform=="github.com" %}.github{% endif %}/workflows

1 file changed

+1
-1
lines changed

template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
{% endif %}
6767
release:
6868
needs: [dist, test{% if sphinx %}, docs{% endif %}]
69-
if: needs.test.result == 'success' && github.ref_type == 'tag'
69+
if: needs.dist.result == 'success' && needs.test.result == 'success' && github.ref_type == 'tag'
7070
uses: ./.github/workflows/_release.yml
7171
permissions:
7272
contents: write

0 commit comments

Comments
 (0)