Skip to content

Commit 4caee59

Browse files
committed
Skip arm64 macos wheels
1 parent 2d41053 commit 4caee59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-wheels-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ jobs:
158158
python2 -m pip install capstone==4.0.2 wheelhouse/*py2*.whl
159159
python2 -m unittest discover tests/regress "*.py"
160160
161+
# https://github.com/unicorn-engine/unicorn/issues/2033
162+
# Skip macos arm64 wheels during release stage
161163
- uses: actions/upload-artifact@v4
164+
if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}}
162165
with:
163166
name: ${{ env.ARTIFACT_NAME }}
164167
path: ./wheelhouse/*.whl
@@ -278,6 +281,7 @@ jobs:
278281
output-dir: wheelhouse
279282

280283
- uses: actions/upload-artifact@v4
284+
if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}}
281285
with:
282286
name: ${{ env.ARTIFACT_NAME }}
283287
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)