Chore: Release 0.3.4 #8
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: Build | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-2019, macOS-11] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v3 | |
- name: Install Workflow Dependencies | |
run: python -m pip install twine build cibuildwheel==2.16.5 | |
- name: Build source | |
run: python -m build --sdist | |
# Doesn't matter which runner runs this, but only one should | |
if: matrix.os == 'ubuntu-20.04' | |
- name: Build wheels | |
run: python -m cibuildwheel --output-dir dist | |
- name: Publish to PyPI | |
run: python -m twine upload dist/* | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} |