From 1d0b4dd64d2d93ac7636649bc802566f6db38855 Mon Sep 17 00:00:00 2001 From: Chris Barnes Date: Tue, 23 Jan 2024 22:02:55 +0000 Subject: [PATCH] new universal2 handling --- .github/workflows/nblast-py.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nblast-py.yaml b/.github/workflows/nblast-py.yaml index ac39738..cdf4384 100644 --- a/.github/workflows/nblast-py.yaml +++ b/.github/workflows/nblast-py.yaml @@ -76,8 +76,18 @@ jobs: with: python-version: "3.10" - uses: PyO3/maturin-action@v1 + if: ${{ startsWith(matrix.os, 'macos') }} with: manylinux: auto command: publish - args: -u __token__ -p ${{ secrets.MATURIN_PASSWORD }} --skip-existing -- --universal2 - name: Deploy distribution + args: -u __token__ -p ${{ secrets.MATURIN_PASSWORD }} --skip-existing --target universal2-apple-darwin + working-directory: nblast-py + name: Deploy distribution (macos) + - uses: PyO3/maturin-action@v1 + if: ${{ !startsWith(matrix.os, 'macos') }} + with: + manylinux: auto + command: publish + args: -u __token__ -p ${{ secrets.MATURIN_PASSWORD }} --skip-existing + working-directory: nblast-py + name: Deploy distribution (other)