From a1af458c9edb07975230219b2a46557857651503 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Mon, 30 Dec 2024 00:52:02 -0500 Subject: [PATCH] CI: Retry on timeout when building macOS bins Also, adjust the timeout duration to be shorter, and adjust the number of retries to be greater. I figure successful runs usually succeed quickly (~27 minutes or less?) So, get to the retrying faster! But also, let's actually retry, a bunch more times if we have to! --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c44b9c3ce..12a2aab791 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,18 +142,16 @@ jobs: TEAM_ID: ${{ secrets.TEAM_ID }} uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e with: - timeout_minutes: 45 - max_attempts: 3 - retry_on: error + timeout_minutes: 37 + max_attempts: 7 command: yarn dist - name: Build Pulsar Binaries (macOS) (Unsigned) if: ${{ runner.os == 'macOS' && github.event_name != 'push' }} uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e with: - timeout_minutes: 45 - max_attempts: 3 - retry_on: error + timeout_minutes: 37 + max_attempts: 7 command: yarn dist - name: Build Pulsar Binaries