diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d0b55ddc6..867c2cf10 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -57,7 +57,8 @@ jobs: - name: Setup python run: | - PKG="python-${{ matrix.py.release }}-macosx10.9.pkg" + [[ ${{ matrix.py.ver }} == "3.10" ]] && MACOS_VERSION="macos11" || MACOS_VERSION="macosx10.9" + PKG="python-${{ matrix.py.release }}-$MACOS_VERSION.pkg" URL="https://www.python.org/ftp/python/${{ matrix.py.release }}/$PKG" wget --no-verbose -N "$URL" sudo installer -pkg $PKG -target /