This commit is contained in:
Paulchen-Panther 2024-11-28 21:47:42 +01:00 committed by GitHub
parent 6832ef26b6
commit 71e61f499a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,8 +123,8 @@ jobs:
echo '::group::Install official Python'
# We need the official Python, because the GA ones only support newer macOS versions
export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -o /tmp/python.pkg
sudo installer -pkg /tmp/python.pkg -target /
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
sudo installer -pkg ./${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -target /
python3 --version
echo '::endgroup::'