Skip to content

Commit

Permalink
CI: Retry on timeout when building macOS bins
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
DeeDeeG committed Dec 30, 2024
1 parent a5fccfc commit a1af458
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1af458

Please sign in to comment.