Bump sphinx from 7.4.7 to 8.1.3 #540
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Python π distributions π¦ to PyPI | |
on: push | |
jobs: | |
build-n-publish: | |
name: Build and publish Python π distributions π¦ to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5.1.1 | |
with: | |
python-version: '3.10' | |
- name: Build a binary wheel and a source tarball | |
run: >- | |
pip install wheel; | |
rm -rf dist; | |
python 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_password }} |