0.5.11 #81
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: PyPi Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
pypi: | |
name: Release To PyPi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
- name: Install publishing dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel twine | |
- name: Build and publish | |
run: | | |
python setup.py sdist bdist_wheel | |
twine upload --skip-existing -u __token__ -p ${{ secrets.PYPI_TOKEN_MOHOU }} dist/* |