Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4f6ab99

Browse files
committedMar 1, 2024
Sync brew core tap for all runners
1 parent a870b0a commit 4f6ab99

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed
 

‎src/scripts/darwin.sh

+1-12
Original file line numberDiff line numberDiff line change
@@ -154,18 +154,7 @@ update_dependencies_helper() {
154154
update_dependencies() {
155155
patch_brew
156156
if ! [ -e /tmp/update_dependencies ]; then
157-
if [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then
158-
deps_file="$tap_dir/$php_tap/.github/deps/${ImageOS:?}_${ImageVersion:?}"
159-
if [ -e "$deps_file" ]; then
160-
while read -r dependency; do
161-
update_dependencies_helper "$dependency" &
162-
to_wait+=($!)
163-
done <"$deps_file"
164-
fi
165-
wait "${to_wait[@]}"
166-
else
167-
git -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master
168-
fi
157+
git -C "$core_repo" fetch origin master && git -C "$core_repo" reset --hard origin/master
169158
echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1
170159
fi
171160
}

0 commit comments

Comments
 (0)
Please sign in to comment.