GHA: add timeouts to mitigate hung brew install step

Ref: https://github.com/curl/curl/actions/runs/19736703410/job/56550251534?pr=19723

Closes #19726
This commit is contained in:
Viktor Szakats 2025-11-27 14:19:48 +01:00
parent bbb929112b
commit 71e9920fcd
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 6 additions and 0 deletions

View file

@ -81,6 +81,7 @@ jobs:
runs-on: macos-latest
steps:
- name: 'install packages'
timeout-minutes: 2
run: |
# shellcheck disable=SC2181,SC2034
while [[ $? == 0 ]]; do for i in 1 2 3; do if brew update && brew install automake libtool; then break 2; else echo Error: wait to try again; sleep 10; fi; done; false Too many retries; done