Stop doing shallow clones on macOS self-hosted
This commit is contained in:
parent
1cecc2cc99
commit
c8b716540c
1 changed files with 2 additions and 2 deletions
|
|
@ -49,11 +49,11 @@ add_brew_tap() {
|
||||||
tap=$1
|
tap=$1
|
||||||
if ! [ -d "$tap_dir/$tap" ]; then
|
if ! [ -d "$tap_dir/$tap" ]; then
|
||||||
if [ "${runner:?}" = "self-hosted" ]; then
|
if [ "${runner:?}" = "self-hosted" ]; then
|
||||||
brew tap --shallow "$tap" >/dev/null 2>&1
|
brew tap "$tap" >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
fetch_brew_tap "$tap" >/dev/null 2>&1
|
fetch_brew_tap "$tap" >/dev/null 2>&1
|
||||||
if ! [ -d "$tap_dir/$tap" ]; then
|
if ! [ -d "$tap_dir/$tap" ]; then
|
||||||
brew tap --shallow "$tap" >/dev/null 2>&1
|
brew tap "$tap" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue