mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
* get rid of invoke_tests imports * add sudo * change path to /usr/bin/invoke_tests * create /usr/local/bin dir * remove local variables * fix group owner * set default 775 perm * delete invoke_tests symlink
15 lines
428 B
Bash
15 lines
428 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
|
|
|
|
invoke_tests "Common" "Miniconda"
|