RELEASE: Bump version to 0.2024.10.24.1838 #19
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 to PyPI | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-n-publish: | |
name: Build and Publish Package | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Upgrade setuptools and wheel | |
run: python -m pip install --user --upgrade setuptools wheel | |
- name: Build a binary wheel and a source tarball | |
run: python setup.py sdist bdist_wheel | |
- name: Publish package to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1.10 | |
with: | |
password: ${{ secrets.pypi_password }} | |
# The PyPI API token (password) was generated as per https://pypi.org/help/#apitoken | |
# The token is stored in this GH repo under `Settings > Secrets > pypi_password` |