mirror of
https://github.com/actions/runner-images.git
synced 2026-01-07 10:48:55 +08:00
[macOS] change miniconda directory permissions (#4963)
This commit is contained in:
@@ -5,6 +5,9 @@ curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
|
|||||||
chmod +x $MINICONDA_INSTALLER
|
chmod +x $MINICONDA_INSTALLER
|
||||||
sudo $MINICONDA_INSTALLER -b -p /usr/local/miniconda
|
sudo $MINICONDA_INSTALLER -b -p /usr/local/miniconda
|
||||||
|
|
||||||
|
# Chmod with full permissions recursively to avoid permissions restrictions
|
||||||
|
sudo chmod 777 -R /usr/local/miniconda
|
||||||
|
|
||||||
sudo ln -s /usr/local/miniconda/bin/conda /usr/local/bin/conda
|
sudo ln -s /usr/local/miniconda/bin/conda /usr/local/bin/conda
|
||||||
|
|
||||||
if [ -d "$HOME/.conda" ]; then
|
if [ -d "$HOME/.conda" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user