0.55.4 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish releases to PyPI | |
on: | |
release: | |
types: [published, prereleased] | |
jobs: | |
build-and-publish: | |
name: Builds and publishes releases to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5.1.0 | |
with: | |
python-version: "3.11" | |
- name: Install wheel | |
run: |- | |
pip install wheel | |
- name: Build | |
run: |- | |
pip install build | |
python -m build | |
- name: Publish release to PyPI | |
uses: pypa/gh-action-pypi-publish@v1.8.14 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} |