Skip to content

Build and Publish Wheels #13

Build and Publish Wheels

Build and Publish Wheels #13

Workflow file for this run

name: Build and Publish Wheels
on:
push:
tags:
- "v*"
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_dist:
name: Build wheels and sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: false
fetch-depth: 0
- name: Custom checkout submodules
run: bash ./checkout_submodules.sh
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build sdist
run: |
python -m pip install --upgrade pip build
python -m build --sdist
- name: Build wheels
uses: pypa/cibuildwheel@v3.4.0
- uses: actions/upload-artifact@v7
with:
name: dist
path: |
./wheelhouse/*.whl
./dist/*.tar.gz