Skip to content

Commit fa59429

Browse files
committed
Ammend pypi.if to require dist result success
1 parent 92866d9 commit fa59429

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
@@ -58,7 +58,7 @@ jobs:
5858
uses: ./.github/workflows/_dist.yml
5959
{% if pypi %}
6060
pypi:
61-
if: github.ref_type == 'tag'
61+
if: needs.dist.result == 'success' && github.ref_type == 'tag'
6262
needs: [dist]
6363
uses: ./.github/workflows/_pypi.yml
6464
permissions:

0 commit comments

Comments
 (0)