Skip to content

Bump actions/setup-python from 5.0.0 to 5.1.0 #515

Bump actions/setup-python from 5.0.0 to 5.1.0

Bump actions/setup-python from 5.0.0 to 5.1.0 #515

Workflow file for this run

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/[email protected]
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 }}