[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
|
run: brew install xcbeautify
|
||||||
|
|
||||||
- if: ${{ matrix.install }}
|
- if: ${{ matrix.install }}
|
||||||
name: Install Required Runtime
|
name: Install xcodes
|
||||||
run: |
|
run: brew install xcodesorg/made/xcodes
|
||||||
brew install xcodesorg/made/xcodes
|
|
||||||
sudo xcodes runtimes install '${{ matrix.runtime }}'
|
- 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
|
- name: List Available Simulators
|
||||||
run: xcrun simctl list devices available
|
run: xcrun simctl list devices available
|
||||||
|
|
Loading…
Reference in New Issue