GHA: set HOMEBREW_NO_AUTO_UPDATE=1 for Linuxbrew

In an attempt to make `brew install` commands initialize faster.

Often this command started with 20-50 seconds of delay before this
patch. This is an attempt to make it launch faster.

Cherry-picked from #18736
This commit is contained in:
Viktor Szakats 2025-09-25 14:38:48 +02:00
parent 5b8c80684b
commit edbf610c6a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 4 additions and 4 deletions

View file

@ -322,7 +322,7 @@ jobs:
${INSTALL_PACKAGES} \
${MATRIX_INSTALL_PACKAGES}
if [ -n "${INSTALL_PACKAGES_BREW}" ]; then
/home/linuxbrew/.linuxbrew/bin/brew install ${INSTALL_PACKAGES_BREW}
HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install ${INSTALL_PACKAGES_BREW}
fi
- name: 'install prereqs'