Skip to content

v0.2.10-rc1

v0.2.10-rc1 #48

Workflow file for this run

name: pypi
on:
release:
types:
- created
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_SKIP: "cp36-* *-win32 *-manylinux_i686"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: wheelhouse/*.whl
build_sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: abatilo/actions-poetry@v2
- name: Build
run: poetry build
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
upload:
runs-on: ubuntu-latest
needs: [ build_wheels, build_sdist ]
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@v1.6.4
with:
user: __token__
password: ${{ secrets.pypi_password }}