maint: bump to v2.0.4 #41
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: CD | |
on: push | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.ref, 'refs/tags') | |
steps: | |
- name: get repo | |
uses: actions/checkout@v2 | |
- name: set up Python | |
uses: actions/setup-python@v2 | |
- name: build package | |
run: | | |
pip install build | |
python -m build | |
- name: publish to PyPI | |
run: | | |
pip install twine | |
twine upload dist/* -u __token__ -p ${{ secrets.pypi_token }} |