Skip to content

v4.8.22

v4.8.22 #2

Workflow file for this run

name: Upload to PyPI
permissions:
contents: read
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip build twine
- name: Build distribution artifacts
run: |
# this will read pyproject.toml and produce both sdist and wheel in dist/
python -m build --sdist --wheel
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*