File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 61
61
with :
62
62
ruby-version : 3.0.2
63
63
64
+ # Remove other python installs before installing the version we want
65
+ - name : Remove other pythons
66
+ shell : bash
67
+ run : |
68
+ ls -l /usr/local/bin | grep /Library/Frameworks/Python.framework/Versions/3 | awk '{print "sudo rm \47/usr/local/bin/" $9 "\47"}'
69
+ ls -d /Library/Frameworks/Python.framework/Versions/3.* 2> /dev/null | awk '{print "sudo rm -rf \47" $0 "\47"}'
70
+ ls -d /Applications/Python\ 3.* 2> /dev/null | awk '{print "sudo rm -rf \47" $0 "\47"}'
71
+
64
72
- name : Setup python
65
73
uses : actions/setup-python@v4
66
74
with :
@@ -106,6 +114,12 @@ jobs:
106
114
timeout-minutes : 90
107
115
shell : bash
108
116
run : |
117
+ if [ -f /usr/local/bin/python3.11 ]; then
118
+ echo "Removing python3.11"
119
+ sudo rm -f /usr/local/bin/python3.11
120
+ else
121
+ echo "Did not find python3.11"
122
+ fi
109
123
# TODO add handling cmake_extras
110
124
python scripts/build_scripts/build_zips.py --gha --platform=macos --unity_root=$UNITY_ROOT_DIR --use_boringssl --architecture=x86_64 --architecture=arm64 --apis=${{ inputs.apis }}
111
125
You can’t perform that action at this time.
0 commit comments