mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
12 lines
392 B
Bash
12 lines
392 B
Bash
#!/bin/bash -e -o pipefail
|
|
|
|
MINICONDA_INSTALLER="/tmp/miniconda.sh"
|
|
curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o $MINICONDA_INSTALLER
|
|
chmod +x $MINICONDA_INSTALLER
|
|
sudo $MINICONDA_INSTALLER -b -p /usr/local/miniconda
|
|
|
|
sudo ln -s /usr/local/miniconda/bin/conda /usr/local/bin/conda
|
|
|
|
if [ -d "$HOME/.conda" ]; then
|
|
sudo chown -R $USER "$HOME/.conda"
|
|
fi |