add regular pypi deploy to github actions
This commit is contained in:
committed by
Bastien Gerard
parent
8f3d21c312
commit
fd35df07c4
5
.github/workflows/github-actions.yml
vendored
5
.github/workflows/github-actions.yml
vendored
@@ -92,8 +92,11 @@ jobs:
|
||||
- run: |
|
||||
pip install wheel
|
||||
python setup.py sdist bdist_wheel
|
||||
- uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
password: ${{ secrets.test_pypi_password }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
- uses: pypa/gh-action-pypi-publish@master
|
||||
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
|
||||
with:
|
||||
password: ${{ secrets.pypi_password }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
|
||||
Reference in New Issue
Block a user