diff --git a/.github/workflows/common_cocoapods.yml b/.github/workflows/common_cocoapods.yml index ec6f8b12322..e1edb019b94 100644 --- a/.github/workflows/common_cocoapods.yml +++ b/.github/workflows/common_cocoapods.yml @@ -134,7 +134,12 @@ jobs: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 - name: Setup Bundler - run: scripts/setup_bundler.sh + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + with: + timeout_minutes: 10 + max_attempts: 5 + retry_wait_seconds: 300 + command: scripts/setup_bundler.sh - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Set conditional environment variable, if needed. @@ -148,7 +153,8 @@ jobs: env: plist_secret: ${{ secrets.plist_secret }} run: ${{ inputs.setup_command }} - - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + - name: Lint ${{ inputs.product }}.podspec for ${{ matrix.platform }} + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 if: contains(join(inputs.platforms), matrix.platform) || matrix.os == 'macos-14' with: timeout_minutes: ${{ inputs.timeout_minutes }}