Skip to content

fix(workflow): update workflow #19

fix(workflow): update workflow

fix(workflow): update workflow #19

Workflow file for this run

name: publish python bindings
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "master"
- uses: pyo3/maturin-action@v1
with:
manylinux: auto
command: build
args: --release --sdist -o dist --find-interpreter
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: "commit linux packages"
add: dist
windows:
runs-on: windows-latest
needs: linux
steps:
- uses: actions/checkout@v3
with:
ref: "master"
- uses: pyo3/maturin-action@v1
with:
command: build
args: --release -o dist --find-interpreter
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: "commit windows packages"
add: dist
macos:
runs-on: macos-latest
needs: windows
steps:
- uses: actions/checkout@v3
with:
ref: "master"
- uses: pyo3/maturin-action@v1
with:
command: build
args: --release -o dist --universal2 --find-interpreter
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: "commit macos packages"
add: dist