Skip to content

Commit

Permalink
only test pypi in ci if pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Chan committed Feb 6, 2024
1 parent 4ba114e commit de8f211
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
needs: check
if: needs.check.outputs.branch-pr == ''
uses: ./.github/workflows/_dist.yml
{% if pypi %}
{% raw %}
pypi:
if: github.ref_type == 'tag'
Expand All @@ -58,6 +59,7 @@ jobs:
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
{% endraw %}
{% endif %}
release:
if: github.ref_type == 'tag'
needs: [dist{% if sphinx %}, docs{% endif %}]
Expand Down

0 comments on commit de8f211

Please sign in to comment.