From 4caee59e8e30c632664be3c2f97ba979e52d0d81 Mon Sep 17 00:00:00 2001 From: mio Date: Thu, 13 Feb 2025 20:42:58 +0800 Subject: [PATCH] Skip arm64 macos wheels --- .github/workflows/build-wheels-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-wheels-publish.yml b/.github/workflows/build-wheels-publish.yml index 127c3ac6..56708b12 100644 --- a/.github/workflows/build-wheels-publish.yml +++ b/.github/workflows/build-wheels-publish.yml @@ -158,7 +158,10 @@ jobs: python2 -m pip install capstone==4.0.2 wheelhouse/*py2*.whl python2 -m unittest discover tests/regress "*.py" + # https://github.com/unicorn-engine/unicorn/issues/2033 + # Skip macos arm64 wheels during release stage - uses: actions/upload-artifact@v4 + if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}} with: name: ${{ env.ARTIFACT_NAME }} path: ./wheelhouse/*.whl @@ -278,6 +281,7 @@ jobs: output-dir: wheelhouse - uses: actions/upload-artifact@v4 + if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}} with: name: ${{ env.ARTIFACT_NAME }} path: ./wheelhouse/*.whl