mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
move source code to public
This commit is contained in:
10
images/macos/provision/core/python.sh
Executable file
10
images/macos/provision/core/python.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
echo "Installing Python Tooling"
|
||||
|
||||
echo "Brew Installing Python 3"
|
||||
/usr/local/bin/brew install python3
|
||||
|
||||
echo "Brew Installing Python 2"
|
||||
# Create local tap with formula due to python2 formula depreciation
|
||||
/usr/local/bin/brew tap-new local/python2
|
||||
FORMULA_PATH=$(/usr/local/bin/brew extract python@2 local/python2 | grep "Homebrew/Library/Taps")
|
||||
/usr/local/bin/brew install $FORMULA_PATH
|
||||
Reference in New Issue
Block a user