Skip to content

Commit 8ec4afc

Browse files
authored
Try GHA retry (#12341)
1 parent dd77b8e commit 8ec4afc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/storage.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ jobs:
5151
FirebaseStorage/Tests/Integration/Credentials.swift "$plist_secret"
5252
- name: Xcode
5353
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
54-
- name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
55-
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Storage${{ matrix.language }} all)
54+
- uses: nick-fields/retry@v3
55+
with:
56+
timeout_minutes: 120
57+
max_attempts: 3
58+
retry_on: error
59+
retry_wait_seconds: 120
60+
command: ([ -z $plist_secret ] || scripts/build.sh Storage${{ matrix.language }} all)
5661

5762
spm:
5863
# Don't run on private repo unless it is a PR.

0 commit comments

Comments
 (0)