Skip to content

Build release

Build release #1

Workflow file for this run

name: Build release
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Python ${{ matrxi.python-version }}

Check failure on line 20 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Build release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 20, Col: 15): Unrecognized named-value: 'matrxi'. Located at position 1 within expression: matrxi.python-version
uses: actions/setuppython@v5
with:
python-version: ${{ matrix.python-version }}
- name: Maturin build
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --strip --no-sdist --interpreter python{{ matrix.python-version }}
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: python-{{ matrix.python-version }}-wheels
path: target/wheels/*whl