Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test
Browse files Browse the repository at this point in the history
renatav committed Jun 27, 2024
1 parent 7c0bfc6 commit a5fb3db
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -54,22 +54,21 @@ jobs:
- name: Upload to TestPyPi
# if: startsWith(github.ref, 'refs/tags/v')
run: |
twine check dist/*
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}


- name: Upload wheels to PyPI
if: startsWith(github.ref, 'refs/tags/v')
run: |
python -m pip install twine
twine check dist/*
twine upload --skip-existing dist/* -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
displayName: "Upload wheels"
# - name: Upload wheels to PyPI
# if: startsWith(github.ref, 'refs/tags/v')
# run: |
# twine check dist/*
# twine upload --skip-existing dist/* -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
# env:
# PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
# PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}


create_release:

0 comments on commit a5fb3db

Please sign in to comment.