Skip to content

Commit

Permalink
Upload pypi only on v tag
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Apr 8, 2023
1 parent c08a58e commit e37ace5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
with:
path: ./dist/*.whl
- name: Upload pypi
if: startsWith(github.ref, 'refs/tags/v')
run: |
python3 -m pip install twine
python3 -m twine upload dist/*.whl
Expand Down Expand Up @@ -234,6 +235,7 @@ jobs:
with:
path: ./dist/*.whl
- name: Upload pypi
if: startsWith(github.ref, 'refs/tags/v')
run: |
python3 -m pip install twine
python3 -m twine upload dist/*.whl
Expand Down Expand Up @@ -359,6 +361,7 @@ jobs:
with:
path: ./wheelhouse/*.whl
- name: Upload pypi
if: startsWith(github.ref, 'refs/tags/v')
run: |
python3 -m pip install twine
python3 -m twine upload wheelhouse/*.whl
Expand Down

0 comments on commit e37ace5

Please sign in to comment.