Skip to content

PyProphet v3.0.7

PyProphet v3.0.7 #41

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install cibuildwheel twine build
- name: Build sdist
run: python -m build --sdist
- name: Build wheels with cibuildwheel
run: cibuildwheel --output-dir dist
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*