0.6.7 #17
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: Source 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 scikit-build | |
- name: Build and publish | |
run: | | |
git submodule update --init | |
python setup.py sdist | |
twine upload --skip-existing -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/* |