diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 930d69fb..07fd8889 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -32,6 +32,8 @@ jobs: env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + # Build package, test pip install works, then upload to PyPI with twine run: | python setup.py sdist bdist_wheel + pip install dist/*.tar.gz twine upload dist/*