mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 21:38:13 +00:00
Fix brew repository permissions to make it clean
This commit is contained in:
@@ -24,6 +24,10 @@ ENVPATH=${ENVPATH%"\""}
|
||||
echo "PATH=$ENVPATH" | sudo tee -a /etc/environment
|
||||
echo "Updated /etc/environment: $(cat /etc/environment)"
|
||||
|
||||
# Fix brew repository permissions to make it clean
|
||||
cd $(brew --prefix)/Homebrew
|
||||
git reset --hard
|
||||
|
||||
# Clean yarn and npm cache
|
||||
yarn cache clean
|
||||
npm cache clean --force
|
||||
Reference in New Issue
Block a user