From 4f6ab99328e4991dc5933e4f32c533545d4ee527 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 27 Feb 2024 13:36:16 +0530 Subject: [PATCH] Sync brew core tap for all runners --- src/scripts/darwin.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 2754acea..3e3844b3 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -154,18 +154,7 @@ update_dependencies_helper() { update_dependencies() { patch_brew if ! [ -e /tmp/update_dependencies ]; then - if [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then - deps_file="$tap_dir/$php_tap/.github/deps/${ImageOS:?}_${ImageVersion:?}" - if [ -e "$deps_file" ]; then - while read -r dependency; do - update_dependencies_helper "$dependency" & - to_wait+=($!) - done <"$deps_file" - fi - wait "${to_wait[@]}" - else - git -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master - fi + git -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1 fi }