From 14fa63ce645addc54944131fb66054d5ff2bd3dd Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 28 Nov 2024 21:06:29 +0000 Subject: [PATCH] chore(actions): fdo NOT build arm64 on python3.8 and earlier --- .github/workflows/wheels.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 48d2713..353ccde 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 | test("arm64") | not or .identifier | test("cp3[678]"))]') + echo "include=$FILTERED_MATRIX" >> $GITHUB_OUTPUT build_wheels: name: Build ${{ matrix.only }}