Skip to content

Also install versioneer on publication #14

Also install versioneer on publication

Also install versioneer on publication #14

Workflow file for this run

---
name: PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Build a binary wheel and a source tarball
run: |
python -mpip install wheel versioneer
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.3.0
with:
password: ${{ secrets.PYPI_PASSWORD }}