Skip to content

Commit a99e691

Browse files
On macOS install official Python
the GitHub/Homebrew ones only support newer macOS versions
1 parent adfd1c1 commit a99e691

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/qt5_6.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,13 @@ jobs:
120120
brew install qt@${{ inputs.qt_version }} vulkan-headers ninja libftdi || true
121121
echo '::endgroup::'
122122
123-
- name: Temporarily downgrade CMake to 3.28.3 # Please remove if GitHub has updated Cmake (greater than 3.30.0)
124-
uses: jwlawson/actions-setup-cmake@v2
125-
with:
126-
cmake-version: '3.28.3'
123+
echo '::group::Install official Python'
124+
# We need the official Python, because the GA ones only support newer macOS versions
125+
export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
126+
curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -o "python.pkg"
127+
sudo installer -pkg python.pkg -target /
128+
python3 --version
129+
echo '::endgroup::'
127130
128131
- name: 👷 Build
129132
shell: bash

0 commit comments

Comments
 (0)