Skip to content

Commit 0433485

Browse files
Retry at most 3 times
1 parent fe583ee commit 0433485

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/distribute-toolchain.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,14 @@ jobs:
7272
fi
7373
done
7474
75-
- run: ./tools/gh-distribute-toolchain --scheme ${{ inputs.scheme }} --verbose --skip-history ${{ inputs.run-id }}
76-
working-directory: ./swiftwasm-build
75+
- uses: nick-fields/retry@v3
76+
with:
77+
timeout_minutes: 180
78+
max_attempts: 3
79+
retry_on: error
80+
command: |
81+
cd swiftwasm-build
82+
./tools/gh-distribute-toolchain --scheme ${{ inputs.scheme }} --verbose --skip-history ${{ inputs.run-id }}
7783
env:
7884
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7985
BUILDBOT_GITHUB_TOKEN: ${{ secrets.SWIFTWASM_BUILDBOT_TOKEN }}

0 commit comments

Comments
 (0)