Skip to content

only build for x86 for now #30

only build for x86 for now

only build for x86 for now #30

Workflow file for this run

name: Build and Publish Wheels
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
- name: Build wheels
run: cibuildwheel --output-dir wheel_output
env:
CIBW_ARCHS: "x86_64"
- name: Upload wheels as artifacts (optional)
uses: actions/upload-artifact@v3
with:
name: wheels-x86_64
path: wheel_output/*.whl
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}