test python 3.12.7

This commit is contained in:
Paulchen-Panther 2024-11-30 14:10:09 +01:00 committed by GitHub
parent 84221d3d74
commit 3df6df1c46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,9 +122,10 @@ 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)
wget -O ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
sudo installer -pkg ${{ github.workspace }}/python.pkg -target /
# export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
export PYTHON_VERSION=3.12.7
wget -qO ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
sudo installer -verbose -pkg ${{ github.workspace }}/python.pkg -target /
python3 --version
echo '::endgroup::'