Skip to content

Commit be678ae

Browse files
committed
CI: Fixed deploy of wheels
1 parent e72e17e commit be678ae

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ jobs:
7777

7878
- name: Deploy to PyPI
7979
if: steps.check-tag.outputs.match == 'true'
80-
run: |
81-
source ../venv/bin/activate
82-
pip install twine
83-
twine upload wheelhouse/*.whl
84-
env:
85-
TWINE_USERNAME: __token__
86-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
87-
shell: bash
80+
uses: pypa/gh-action-pypi-publish@release/v1
81+
with:
82+
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)