Skip to content

Commit

Permalink
switch to naive twine upload
Browse files Browse the repository at this point in the history
  • Loading branch information
duguyue100 committed Dec 2, 2021
1 parent a229300 commit 8fa5ef6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ jobs:
file_glob: true
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true
run: |
pip install twine;
twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/*.whl;

0 comments on commit 8fa5ef6

Please sign in to comment.