From 1a83b9d3d5964cf35124fc6fd5c384555353cef8 Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Thu, 18 Dec 2025 17:18:24 -0500 Subject: [PATCH] fix: more retry attempts for network dependent nightlies --- .github/workflows/archiving.yml | 14 ++++++++++++-- .github/workflows/cocoapods-integration.yml | 13 +++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/archiving.yml b/.github/workflows/archiving.yml index c94b7ca9e66..c21e6ac479d 100644 --- a/.github/workflows/archiving.yml +++ b/.github/workflows/archiving.yml @@ -33,7 +33,12 @@ jobs: - name: Setup Bundler run: scripts/setup_bundler.sh - name: Setup project and archive - run: scripts/test_archiving.sh ${{ matrix.pod }} ios ArchiveOutputs/ios.xcarchive + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 300 + command: scripts/test_archiving.sh ${{ matrix.pod }} ios ArchiveOutputs/ios.xcarchive # Archive tests for pods that support iOS, tvOS, and macOS. @@ -55,4 +60,9 @@ jobs: - name: Setup Bundler run: scripts/setup_bundler.sh - name: Setup project and archive - run: scripts/test_archiving.sh ${{ matrix.pod }} ${{ matrix.target }} ArchiveOutputs/${{ matrix.target }}.xcarchive + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 300 + command: scripts/test_archiving.sh ${{ matrix.pod }} ${{ matrix.target }} ArchiveOutputs/${{ matrix.target }}.xcarchive diff --git a/.github/workflows/cocoapods-integration.yml b/.github/workflows/cocoapods-integration.yml index 4bbf04a1ce2..5a84001b6db 100644 --- a/.github/workflows/cocoapods-integration.yml +++ b/.github/workflows/cocoapods-integration.yml @@ -28,7 +28,12 @@ jobs: - name: Get realpath run: brew install coreutils - name: Build and test - run: | - scripts/third_party/travis/retry.sh ./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \ - --gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \ - --podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 + with: + timeout_minutes: 20 + max_attempts: 3 + retry_wait_seconds: 300 + command: | + ./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \ + --gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \ + --podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile