chore: add support for latest Sphinx (#1850) #87
Workflow file for this run
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: Release a new version | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
release: | |
name: Publish to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: pip | |
- name: Install dependencies | |
run: | | |
pip install -U pip nox poetry poetry-plugin-export | |
pip --version | |
nox --version | |
poetry --version | |
poetry self show plugins | |
poetry config warnings.export false | |
- name: Build Packages | |
run: | | |
poetry build | |
- name: Publish to PyPI | |
env: | |
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
poetry publish | |
tag-release: | |
name: Tag release | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Tag release on GitHub | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false |