Skip to content

Bump pre-commit from 3.7.0 to 3.7.1 #1454

Bump pre-commit from 3.7.0 to 3.7.1

Bump pre-commit from 3.7.0 to 3.7.1 #1454

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@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}