Skip to content

Commit

Permalink
Retry at most 3 times
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Dec 22, 2024
1 parent fe583ee commit 0433485
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/distribute-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,14 @@ jobs:
fi
done
- run: ./tools/gh-distribute-toolchain --scheme ${{ inputs.scheme }} --verbose --skip-history ${{ inputs.run-id }}
working-directory: ./swiftwasm-build
- uses: nick-fields/retry@v3
with:
timeout_minutes: 180
max_attempts: 3
retry_on: error
command: |
cd swiftwasm-build
./tools/gh-distribute-toolchain --scheme ${{ inputs.scheme }} --verbose --skip-history ${{ inputs.run-id }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILDBOT_GITHUB_TOKEN: ${{ secrets.SWIFTWASM_BUILDBOT_TOKEN }}
Expand Down

0 comments on commit 0433485

Please sign in to comment.