Skip to content

Commit

Permalink
Add retries to simulator install
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed May 18, 2024
1 parent e243996 commit 512d73c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ jobs:

- name: Install Simulator
if: ${{ matrix.runtime }}
shell: bash
timeout-minutes: 30
run: sudo xcodes runtimes install --keep-archive '${{ matrix.platform }} ${{ matrix.runtime }}'
uses: nick-fields/retry@v2
with:
timeout_minutes: 20
max_attempts: 3
command: sudo xcodes runtimes install --keep-archive '${{ matrix.platform }} ${{ matrix.runtime }}'

- name: Run Unit Tests
uses: bamx23/xcodebuild@os-version
Expand Down

0 comments on commit 512d73c

Please sign in to comment.