Skip to content

[pre-commit.ci] pre-commit autoupdate #103

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #103

Workflow file for this run

---
name: Publish Python distributions to PyPI and TestPyPI
on: push
jobs:
build-n-publish:
name: Publish 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
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_PASSWORD }}