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