0.17.1 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Publish to PyPI | |
run: | | |
pip install --upgrade pip | |
pip install --upgrade setuptools wheel twine | |
python setup.py sdist bdist_wheel | |
export TWINE_USERNAME=__token__ | |
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }} | |
twine upload dist/* |