Skip to content

Commit 893685f

Browse files
committed
retry ut on error
1 parent 0a8c618 commit 893685f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ jobs:
4545
${{ runner.os }}-maven-
4646
- name: JDK 8
4747
if: matrix.jdk == '8'
48-
run: mvn -B clean package -P travis jacoco:report -Dmaven.gitcommitid.skip=true
49-
- name: JDK 11
48+
uses: nick-fields/retry@v3
49+
with:
50+
timeout_minutes: 3
51+
max_attempts: 3
52+
retry_wait_seconds: 1
53+
command: mvn -B clean package -P travis jacoco:report -Dmaven.gitcommitid.skip=true
54+
- name: JDK 11
5055
if: matrix.jdk == '11'
5156
run: mvn -B clean compile -Dmaven.gitcommitid.skip=true
5257
- name: JDK 17

0 commit comments

Comments
 (0)