GHA: drop brew update from all jobs

After adding it a month ago (where missing) to fix a failure.

Removing this time to fix a different failure (on Linux), and also to
improve CI performance. Some install steps take over a minute, most of
that spent on `brew update`.

GH runner images also enabled extra taps which may contribute to further
delays, and seen to make it more fragile if GH itself struggles (taps
are hosted there.)

Refs:
https://github.com/curl/curl/actions/runs/27384213554/job/80927624171
https://github.com/curl/curl/actions/runs/27382368348/job/80921910973

Follow-up to db5d888673 #21608

Closes #21981
This commit is contained in:
Viktor Szakats 2026-06-12 02:13:03 +02:00
parent abdfa2baff
commit d77b4b7407
No known key found for this signature in database
5 changed files with 5 additions and 10 deletions

View file

@ -91,7 +91,7 @@ jobs:
# shellcheck disable=SC2181
while [[ $? == 0 ]]; do
for i in 1 2 3; do
if brew update && brew install automake libtool; then
if brew install automake libtool; then
break 2
else
echo "Error: wait to try again: $i"
@ -416,7 +416,7 @@ jobs:
# shellcheck disable=SC2181
while [[ $? == 0 ]]; do
for i in 1 2 3; do
if brew update && brew install pkgconf libpsl libssh2 ${INSTALL_PACKAGES} ${MATRIX_INSTALL}; then
if brew install pkgconf libpsl libssh2 ${INSTALL_PACKAGES} ${MATRIX_INSTALL}; then
break 2
else
echo "Error: wait to try again: $i"
@ -674,7 +674,7 @@ jobs:
# shellcheck disable=SC2181
while [[ $? == 0 ]]; do
for i in 1 2 3; do
if brew update && brew install automake libtool; then
if brew install automake libtool; then
break 2
else
echo "Error: wait to try again: $i"