maint: modify optional dependencies #116
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: 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 wheel | |
python setup.py sdist bdist_wheel | |
- name: publish to PyPI | |
run: | | |
pip install twine | |
twine upload dist/* -u __token__ -p ${{ secrets.pypi_token }} |