File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
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 "rm \47/usr/local/bin/" $9 "\47"}'
69
+ ls -d /Library/Frameworks/Python.framework/Versions/3.* 2> /dev/null | awk '{print "rm -rf \47" $0 "\47"}'
70
+ ls -d /Applications/Python\ 3.* 2> /dev/null | awk '{print "rm -rf \47" $0 "\47"}'
71
+
64
72
- name : Setup python
65
73
uses : actions/setup-python@v4
66
74
with :
78
86
python scripts/gha/install_prereqs_desktop.py
79
87
cd ..
80
88
81
- - name : Remove python3.11
82
- shell : bash
83
- run : |
84
- if [ -d /usr/local/bin/python3.11 ]; then
85
- echo "Deleting python3.11"
86
- rm /usr/local/bin/python3.11
87
- else
88
- echo "Failed to find python3.11"
89
- fi
90
-
91
89
- name : Install python deps
92
90
shell : bash
93
91
run : |
You can’t perform that action at this time.
0 commit comments