@@ -248,12 +248,16 @@ jobs:
248
248
with :
249
249
python-version : ${{ env.pythonVersion }}
250
250
- name : Update homebrew (avoid bintray errors)
251
+ uses : nick-invision/retry@v2
251
252
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
257
261
- name : Install SDK Desktop prerequisites
258
262
run : |
259
263
python scripts/gha/install_prereqs_desktop.py
@@ -394,12 +398,16 @@ jobs:
394
398
with :
395
399
python-version : ${{ env.pythonVersion }}
396
400
- name : Update homebrew (avoid bintray errors)
401
+ uses : nick-invision/retry@v2
397
402
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
403
411
- name : Install SDK Android prerequisites
404
412
shell : bash
405
413
run : |
@@ -489,11 +497,16 @@ jobs:
489
497
with :
490
498
python-version : ${{ env.pythonVersion }}
491
499
- 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
497
510
- name : Install SDK iOS prerequisites
498
511
run : build_scripts/ios/install_prereqs.sh
499
512
- name : Prepare for integration tests
@@ -582,11 +595,16 @@ jobs:
582
595
with :
583
596
python-version : ${{ env.pythonVersion }}
584
597
- 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
590
608
- name : Install SDK tvOS prerequisites
591
609
run : build_scripts/tvos/install_prereqs.sh
592
610
- name : Prepare for integration tests
0 commit comments