Skip to content

Version 0.1.5 Release #10

Version 0.1.5 Release

Version 0.1.5 Release #10

Workflow file for this run

name: Publish Python Package
on:
release:
types:
- published
jobs:
build_and_publish:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
permissions:
contents: read
id-token: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: pip install setuptools wheel twine cibuildwheel
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: twine upload wheelhouse/*.whl