Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# This file is autogenerated by maturin v1.7.1 and then manually modified
# This file is autogenerated by maturin and then manually modified
# To update, run
#
# maturin generate-ci --zig github
#

# This file was modified slightly after autogeneration by maturin
# Last updated: 2026-03-15 - modernized action versions and runners

name: Publish

Expand Down Expand Up @@ -35,8 +36,8 @@ jobs:
python-architecture: arm64
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.python-architecture }}
Expand All @@ -48,7 +49,7 @@ jobs:
manylinux: auto
before-script-linux: sudo apt-get install -y capnproto libcapnp-dev
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: wheels-linux-${{ matrix.platform.target }}-python${{ matrix.python-version }}
path: dist
Expand All @@ -64,8 +65,8 @@ jobs:
target: x86
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.platform.target }}
Expand All @@ -77,7 +78,7 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: wheels-windows-${{ matrix.platform.target }}-python${{ matrix.python-version }}
path: dist
Expand All @@ -87,16 +88,16 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-13
- runner: macos-15-intel
target: x86_64
python-architecture: x64
- runner: macos-14
- runner: macos-15
target: aarch64
python-architecture: arm64
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.platform.python-architecture }}
Expand All @@ -108,22 +109,22 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: wheels-macos-${{ matrix.platform.target }}-python${{ matrix.python-version }}
path: dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: wheels-sdist
path: dist
Expand All @@ -133,7 +134,7 @@ jobs:
runs-on: ubuntu-latest
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down
Loading