Skip to content

Commit

Permalink
Build sdist PyPI package
Browse files Browse the repository at this point in the history
  • Loading branch information
timka authored Feb 28, 2020
1 parent 17167a7 commit 63885d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:
with:
package-path: ''
pip-wheel-args: '--no-deps'
- name: Build sdist package
run: |
python setup.py sdist
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload --skip-existing wheelhouse/*-manylinux*.whl
twine upload --skip-existing dist/*.tar.gz
twine upload --skip-existing wheelhouse/*-manylinux*.whl

0 comments on commit 63885d9

Please sign in to comment.