mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Stop doing shallow clones on macOS self-hosted
This commit is contained in:
parent
1cecc2cc99
commit
c8b716540c
@ -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 New Issue
Block a user