Skip to content

Commit

Permalink
Fix token username
Browse files Browse the repository at this point in the history
  • Loading branch information
cmorganl committed Jan 5, 2021
1 parent 61e8755 commit 79dfec9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ jobs:
if: ${{ matrix.os == 'macos-latest' }}
run: |
python setup.py bdist_wheel
- name: Finalize dist dir for publishing
- name: Build and publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
if [ -f dist/*linux_x86_64.whl ]; then rm dist/*linux_x86_64.whl; fi
python setup.py sdist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
python -m twine upload --skip-existing dist/*.whl dist/*tar.gz;

0 comments on commit 79dfec9

Please sign in to comment.