mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Remove pre-installed Python
This commit is contained in:
parent
3df6df1c46
commit
6f22c0897b
4
.github/workflows/qt5_6.yml
vendored
4
.github/workflows/qt5_6.yml
vendored
@ -122,10 +122,12 @@ jobs:
|
||||
|
||||
echo '::group::Install official Python'
|
||||
# We need the official Python, because the GA ones only support newer macOS versions
|
||||
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||
sudo rm -rf /Library/Frameworks/Python.framework/
|
||||
# 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 /
|
||||
sudo installer -pkg ${{ github.workspace }}/python.pkg -target /
|
||||
python3 --version
|
||||
echo '::endgroup::'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user