diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2299195..43e9072f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,3 @@ -# This file is autogenerated by maturin v1.7.8 -# To update, run -# -# maturin generate-ci github -# name: release on: @@ -44,9 +39,11 @@ jobs: target: ppc64le steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -54,6 +51,7 @@ jobs: args: --release --out dist --find-interpreter sccache: "true" manylinux: auto + - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -75,16 +73,18 @@ jobs: target: armv7 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter - sccache: "true" manylinux: musllinux_1_2 + - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -102,16 +102,19 @@ jobs: target: x86 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x architecture: ${{ matrix.platform.target }} + - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: "true" + - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -129,15 +132,18 @@ jobs: target: aarch64 steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: "true" + - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -148,11 +154,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Build sdist uses: PyO3/maturin-action@v1 with: command: sdist args: --out dist + - name: Upload sdist uses: actions/upload-artifact@v4 with: @@ -179,10 +187,12 @@ jobs: attestations: write steps: - uses: actions/download-artifact@v4 + - name: Generate artifact attestation uses: actions/attest-build-provenance@v2 with: subject-path: "wheels-*/*" + - name: Publish to PyPI uses: PyO3/maturin-action@v1 with: