diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 48d2713..59ededb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -39,7 +39,9 @@ jobs: | jq -nRc '{"only": inputs, "os": "windows-latest"}' } | jq -sc ) - echo "include=$MATRIX" >> $GITHUB_OUTPUT + # Filter out arm64 builds for Python 3.8 and earlier + FILTERED_MATRIX=$(echo "$MATRIX" | jq '[.[] | select(.identifier != null) | select((.identifier | contains("arm64")) | not or (.identifier | test("cp3[678]") | not))]') + echo "include=$FILTERED_MATRIX" >> $GITHUB_OUTPUT build_wheels: name: Build ${{ matrix.only }}