Skip to content

Ignore mypy error #1040

Ignore mypy error

Ignore mypy error #1040

Workflow file for this run

---
name: Release
on: push
jobs:
pypi:
name: Build and publish to PyPI
if: startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install setuptools and wheel
run: |
python -m pip install --upgrade pip setuptools wheel packaging
- name: Build sdist and wheel
run: |
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}