Skip to content

Merge PR #39

Merge PR #39 #80

Workflow file for this run

name: Build and publish Python distributions to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Build wheel
run: |
python3 -m pip install wheel
python3 setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_token }}