Skip to content

chore: Add changelog for next release (#643) #5

chore: Add changelog for next release (#643)

chore: Add changelog for next release (#643) #5

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 }}