Skip to content

Commit 66c0be6

Browse files
update workflow 9
1 parent dc4a1df commit 66c0be6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ jobs:
4242
- name: Run examples
4343
run: pip3 install . && find examples -maxdepth 2 -name "*.py" -exec python3 {} \;
4444

45-
- name: Publish to PyPI
46-
uses: pypa/gh-action-pypi-publish@release/v1
47-
with:
48-
password: ${{ secrets.PYPI_AHEAD }}
49-
repository-url: https://upload.pypi.org/legacy/
45+
- name: Publish to PyPI
46+
run: |
47+
python3 -m pip install --upgrade twine
48+
twine upload --repository-url https://upload.pypi.org/legacy/ -u __token__ -p ${{ secrets.PYPI_AHEAD }} dist/*

0 commit comments

Comments
 (0)