From d3d809fa1e4eb689c324532feadb95edff97c295 Mon Sep 17 00:00:00 2001 From: zrezke Date: Tue, 19 Mar 2024 16:12:29 +0100 Subject: [PATCH] Should fix the remaining issues with aarch wheels --- .github/workflows/python.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 64a567a9e125..a9afe1b9f3dc 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -261,7 +261,11 @@ jobs: shell: bash run: | mkdir unpack-dist - wheel unpack pre-dist/*.whl --dest unpack-dist + if [ "${{ matrix.platform }}" == "aarch64" ]; then + python3.8 -m wheel unpack pre-dist/*.whl --dest unpack-dist + else + wheel unpack pre-dist/*.whl --dest unpack-dist + fi - name: Get the folder name shell: bash @@ -272,7 +276,11 @@ jobs: shell: bash run: | mkdir dist - wheel pack unpack-dist/${{ env.pkg_folder }} --dest dist/ + if [ "${{ matrix.platform }}" == "aarch64" ]; then + python3.8 -m wheel pack unpack-dist/${{ env.pkg_folder }} --dest dist/ + else + wheel pack unpack-dist/${{ env.pkg_folder }} --dest dist/ + fi - name: Upload wheels uses: actions/upload-artifact@v3