File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,21 @@ jobs:
4646 - uses : actions/setup-python@v3
4747
4848 - name : Install cibuildwheel
49- run : python -m pip install cibuildwheel
49+ run : python -m pip install cibuildwheel twine
5050
5151 - name : Build wheels
5252 run : python -m cibuildwheel --output-dir dist
5353
54+ # - name: Release to pypi
55+ # uses: pypa/gh-action-pypi-publish@release/v1
56+
57+ # pypa/gh-action-pypi-publish does not have arm support yet
58+ # use twine for now
5459 - name : Release to pypi
55- uses : pypa/gh-action-pypi-publish@release/v1
60+ run : python -m twine upload wheelhouse/*.whl
61+ env :
62+ TWINE_USERNAME : __token__
63+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
5664
5765 build_source :
5866 name : Build source distribution
6371
6472 - uses : actions/setup-python@v3
6573
74+ - name : Install dependencies
75+ run : pip install setuptools
76+
6677 - name : Build source distribution
6778 run : python setup.py sdist
6879
You can’t perform that action at this time.
0 commit comments