[CI] Retry runtime download on timeout or error (#247)
This commit is contained in:
parent
a5a1d7c305
commit
80356a6b96
|
@ -106,10 +106,16 @@ jobs:
|
|||
run: brew install xcbeautify
|
||||
|
||||
- if: ${{ matrix.install }}
|
||||
name: Install Required Runtime
|
||||
run: |
|
||||
brew install xcodesorg/made/xcodes
|
||||
sudo xcodes runtimes install '${{ matrix.runtime }}'
|
||||
name: Install xcodes
|
||||
run: brew install xcodesorg/made/xcodes
|
||||
|
||||
- if: ${{ matrix.install }}
|
||||
name: Install Required Runtime (${{ matrix.runtime }})
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 12
|
||||
max_attempts: 3
|
||||
command: sudo xcodes runtimes install '${{ matrix.runtime }}'
|
||||
|
||||
- name: List Available Simulators
|
||||
run: xcrun simctl list devices available
|
||||
|
|
Loading…
Reference in New Issue