Skip to content

Adjust rtd theme.

Adjust rtd theme. #118

name: Publish to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install setuptools and wheel
run: >-
python -m pip install --user --upgrade setuptools wheel build
- name: Build a binary wheel and a source tarball
run: >-
python -m build --sdist --wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}