Skip to content

Bump tox from 4.18.1 to 4.20.0 #1734

Bump tox from 4.18.1 to 4.20.0

Bump tox from 4.18.1 to 4.20.0 #1734

Workflow file for this run

name: Packaging
on:
release:
types: [ created ]
push:
branches: [ 'main' ]
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Install Python dependencies
run: |
python -m pip install -U pip
python -m pip install setuptools wheel twine build
- name: Build Python package
run: python -m build --sdist --wheel --outdir dist/ .
# Will only run on release.
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}