From dd9201e46680f4f420a1f35c0f80387819393891 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 28 Nov 2022 14:10:53 +0100 Subject: [PATCH] Python wheel: releases also an ARM-only wheel Smaller than the Universal 2 wheel --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c49dd4a8..68df0644 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,6 +116,7 @@ jobs: working-directory: ./python - run: maturin publish --no-sdist --universal2 -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASSWORD }} - run: maturin publish --no-sdist -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASSWORD }} + - run: maturin publish --no-sdist --target aarch64-apple-darwin -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASSWORD }} - uses: softprops/action-gh-release@v1 with: files: target/wheels/*.whl