Skip to content

python: Build python wrapper wheels with github actions #19

python: Build python wrapper wheels with github actions

python: Build python wrapper wheels with github actions #19

Workflow file for this run

name: wheels
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
id-token: write
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos13, macos-latest]
runs-on: ${{ matrix.os }}
environment:
name: pypi
url: https://pypi.org/p/pylc3
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'

Check failure on line 27 in .github/workflows/wheels.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/wheels.yaml

Invalid workflow file

You have an error in your yaml syntax on line 27
- if: runner.os == 'Linux'
- run: pip install auditwheel patchelf
- run: pip wheel . -w wheel
- run: auditwheel repair -w dist --plat=manylinux_2_17_x86_64 wheel/*.whl
- if: runner.os != 'Linux'
- run: pip wheel . -w wheel
- uses: pypa/gh-action-pypi-publish@release/v1