Skip to content

Commit

Permalink
Stop doing shallow clones on macOS self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Aug 18, 2021
1 parent 1cecc2c commit c8b7165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ add_brew_tap() {
tap=$1
if ! [ -d "$tap_dir/$tap" ]; then
if [ "${runner:?}" = "self-hosted" ]; then
brew tap --shallow "$tap" >/dev/null 2>&1
brew tap "$tap" >/dev/null 2>&1
else
fetch_brew_tap "$tap" >/dev/null 2>&1
if ! [ -d "$tap_dir/$tap" ]; then
brew tap --shallow "$tap" >/dev/null 2>&1
brew tap "$tap" >/dev/null 2>&1
fi
fi
fi
Expand Down

0 comments on commit c8b7165

Please sign in to comment.