Skip to content

Commit 6f22c08

Browse files
Remove pre-installed Python
1 parent 3df6df1 commit 6f22c08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/qt5_6.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,12 @@ jobs:
122122
123123
echo '::group::Install official Python'
124124
# We need the official Python, because the GA ones only support newer macOS versions
125+
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
126+
sudo rm -rf /Library/Frameworks/Python.framework/
125127
# export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
126128
export PYTHON_VERSION=3.12.7
127129
wget -qO ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
128-
sudo installer -verbose -pkg ${{ github.workspace }}/python.pkg -target /
130+
sudo installer -pkg ${{ github.workspace }}/python.pkg -target /
129131
python3 --version
130132
echo '::endgroup::'
131133

0 commit comments

Comments
 (0)