From dfb35d084ed48ec425ebe862a545effa05cc4d53 Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Fri, 19 Dec 2025 17:43:06 -0500 Subject: [PATCH] fix: simulator availability flake in firebasepod.yml --- .github/workflows/firebasepod.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebasepod.yml b/.github/workflows/firebasepod.yml index eae29d4b54f..48b1cc4ddfa 100644 --- a/.github/workflows/firebasepod.yml +++ b/.github/workflows/firebasepod.yml @@ -20,11 +20,8 @@ concurrency: jobs: installation-test: - # Don't run on private repo unless it is a PR. - if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' - + if: github.repository == 'Firebase/firebase-ios-sdk' runs-on: macos-latest - steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 @@ -32,6 +29,13 @@ jobs: run: scripts/setup_bundler.sh - name: Xcode run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer + - name: Install simulators in case they are missing. + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + with: + timeout_minutes: 15 + max_attempts: 5 + retry_wait_seconds: 120 + command: sudo xcodebuild -downloadPlatform iOS - name: Prereqs run: scripts/install_prereqs.sh FirebasePod iOS - name: Build