From a99e6916cfd145dcbc9ecac0d5323a6f86c4d867 Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Thu, 28 Nov 2024 21:03:16 +0100 Subject: [PATCH] On macOS install official Python the GitHub/Homebrew ones only support newer macOS versions --- .github/workflows/qt5_6.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qt5_6.yml b/.github/workflows/qt5_6.yml index 516721e5..4240af25 100644 --- a/.github/workflows/qt5_6.yml +++ b/.github/workflows/qt5_6.yml @@ -120,10 +120,13 @@ jobs: brew install qt@${{ inputs.qt_version }} vulkan-headers ninja libftdi || true echo '::endgroup::' - - name: Temporarily downgrade CMake to 3.28.3 # Please remove if GitHub has updated Cmake (greater than 3.30.0) - uses: jwlawson/actions-setup-cmake@v2 - with: - cmake-version: '3.28.3' + 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 "python.pkg" + sudo installer -pkg python.pkg -target / + python3 --version + echo '::endgroup::' - name: 👷 Build shell: bash