example: for GH Actions use action to publish

to PyPI, instead of calling twine directly.
This commit is contained in:
Marek Otahal
2020-06-01 15:02:26 +02:00
parent ecbdc2e3d3
commit add792de30
+9
View File
@@ -35,3 +35,12 @@ jobs:
with:
name: wheels
path: ./wheelhouse
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master #see https://github.com/pypa/gh-action-pypi-publish for setup
with:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://test.pypi.org/legacy/ #TODO rm this line to use the "real" pypi
packages_dir: ./wheelhouse/