From 9aa8a2eddab0bc06941f4c506961971ebe1725f5 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 1 Jan 2026 05:27:44 +0000 Subject: [PATCH] retry ut on error --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 752b3409..aa315c00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,13 @@ jobs: ${{ runner.os }}-maven- - name: JDK 8 if: matrix.jdk == '8' - run: mvn -B clean package -P travis jacoco:report -Dmaven.gitcommitid.skip=true - - name: JDK 11 + uses: nick-fields/retry@v3 + with: + timeout_minutes: 3 + max_attempts: 3 + retry_wait_seconds: 1 + command: mvn -B clean package -P travis jacoco:report -Dmaven.gitcommitid.skip=true + - name: JDK 11 if: matrix.jdk == '11' run: mvn -B clean compile -Dmaven.gitcommitid.skip=true - name: JDK 17