example: for GH Actions use action to publish
to PyPI, instead of calling twine directly.
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user