Release: v0.25.0 #137
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: Python release | |
on: | |
push: | |
tags: | |
- v* | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN_DIST }} | |
jobs: | |
python_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install setuptools wheel | |
- run: python setup.py sdist bdist_wheel | |
- run: | | |
pip install twine | |
- name: Upload to PyPi | |
run: | | |
twine upload dist/* -u __token__ -p "$PYPI_TOKEN" |