Skip to content

Commit 58d4da8

Browse files
authored
Retry generating windows launcher up to 5 times (#3349)
1 parent fbc7cb1 commit 58d4da8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,12 @@ jobs:
814814
run: .github/scripts/get-latest-cs.sh
815815
shell: bash
816816
- name: Generate native launcher
817-
run: .github/scripts/generate-native-image.sh
818-
shell: bash
817+
uses: nick-fields/retry@v3
818+
with:
819+
timeout_minutes: 30
820+
max_attempts: 5
821+
shell: bash
822+
command: .github/scripts/generate-native-image.sh
819823
- run: ./mill -i ci.setShouldPublish
820824
- name: Build OS packages
821825
if: env.SHOULD_PUBLISH == 'true'

0 commit comments

Comments
 (0)