Skip to content

Update pyo3 requirement from 0.21.0 to 0.22.0 #100

Update pyo3 requirement from 0.21.0 to 0.22.0

Update pyo3 requirement from 0.21.0 to 0.22.0 #100

Workflow file for this run

name: Release package
on:
push:
tags: ['v*']
branches: ['main']
pull_request:
branches: ['release/v*', 'main']
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: messense/maturin-action@v1
with:
manylinux: auto
command: build
container: messense/manylinux2014-cross:x86_64
args: --manifest-path tsar-py/Cargo.toml --release -o dist
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: tsar-linux
path: dist
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: KyleMayes/install-llvm-action@v2.0.3
with:
version: "12.0"
- uses: messense/maturin-action@v1
with:
command: build
args: --manifest-path tsar-py/Cargo.toml --release -o dist
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: tsar-windows
path: dist
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: messense/maturin-action@v1
with:
command: build
args: --manifest-path tsar-py/Cargo.toml --release -o dist --universal2
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: tsar-macos
path: dist
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ macos, windows, linux ]
steps:
- uses: actions/download-artifact@v4
with:
name: wheels
- name: Publish to PyPI
uses: messense/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing *