From f8d02064edb21c42b70889fb5f4934f724a56752 Mon Sep 17 00:00:00 2001 From: poppingmoon <63451158+poppingmoon@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:26:10 +0000 Subject: [PATCH] ci: retry pre-build (#50) --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06c2b2a2..d21047f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,13 @@ jobs: model: 'iPhone 14' - name: Pre-build the app - run: flutter build ios --simulator --target=integration_test/timeline_test.dart + uses: nick-fields/retry@v3 + with: + timeout_minutes: 60 + max_attempts: 3 + command: > + flutter build ios --simulator + --target=integration_test/timeline_test.dart - name: Integration test run: flutter test integration_test