@@ -248,12 +248,16 @@ jobs:
248248 with :
249249 python-version : ${{ env.pythonVersion }}
250250 - name : Update homebrew (avoid bintray errors)
251+ uses : nick-invision/retry@v2
251252 if : startsWith(matrix.os, 'macos')
252- run : |
253- # Temporarily here until Github runners have updated their version of
254- # homebrew. This prevents errors arising from the shut down of
255- # binutils, used by older version of homebrew for hosting packages.
256- brew update
253+ with :
254+ timeout_minutes : 10
255+ max_attempts : 3
256+ command : |
257+ # Temporarily here until Github runners have updated their version of
258+ # homebrew. This prevents errors arising from the shut down of
259+ # binutils, used by older version of homebrew for hosting packages.
260+ brew update
257261 - name : Install SDK Desktop prerequisites
258262 run : |
259263 python scripts/gha/install_prereqs_desktop.py
@@ -394,12 +398,16 @@ jobs:
394398 with :
395399 python-version : ${{ env.pythonVersion }}
396400 - name : Update homebrew (avoid bintray errors)
401+ uses : nick-invision/retry@v2
397402 if : startsWith(matrix.os, 'macos')
398- run : |
399- # Temporarily here until Github runners have updated their version of
400- # homebrew. This prevents errors arising from the shut down of
401- # binutils, used by older version of homebrew for hosting packages.
402- brew update
403+ with :
404+ timeout_minutes : 10
405+ max_attempts : 3
406+ command : |
407+ # Temporarily here until Github runners have updated their version of
408+ # homebrew. This prevents errors arising from the shut down of
409+ # binutils, used by older version of homebrew for hosting packages.
410+ brew update
403411 - name : Install SDK Android prerequisites
404412 shell : bash
405413 run : |
@@ -489,11 +497,16 @@ jobs:
489497 with :
490498 python-version : ${{ env.pythonVersion }}
491499 - name : Update homebrew (avoid bintray errors)
492- run : |
493- # Temporarily here until Github runners have updated their version of
494- # homebrew. This prevents errors arising from the shut down of
495- # binutils, used by older version of homebrew for hosting packages.
496- brew update
500+ uses : nick-invision/retry@v2
501+ if : startsWith(matrix.os, 'macos')
502+ with :
503+ timeout_minutes : 10
504+ max_attempts : 3
505+ command : |
506+ # Temporarily here until Github runners have updated their version of
507+ # homebrew. This prevents errors arising from the shut down of
508+ # binutils, used by older version of homebrew for hosting packages.
509+ brew update
497510 - name : Install SDK iOS prerequisites
498511 run : build_scripts/ios/install_prereqs.sh
499512 - name : Prepare for integration tests
@@ -582,11 +595,16 @@ jobs:
582595 with :
583596 python-version : ${{ env.pythonVersion }}
584597 - name : Update homebrew (avoid bintray errors)
585- run : |
586- # Temporarily here until Github runners have updated their version of
587- # homebrew. This prevents errors arising from the shut down of
588- # binutils, used by older version of homebrew for hosting packages.
589- brew update
598+ uses : nick-invision/retry@v2
599+ if : startsWith(matrix.os, 'macos')
600+ with :
601+ timeout_minutes : 10
602+ max_attempts : 3
603+ command : |
604+ # Temporarily here until Github runners have updated their version of
605+ # homebrew. This prevents errors arising from the shut down of
606+ # binutils, used by older version of homebrew for hosting packages.
607+ brew update
590608 - name : Install SDK tvOS prerequisites
591609 run : build_scripts/tvos/install_prereqs.sh
592610 - name : Prepare for integration tests
0 commit comments