From 93bdf498029b2fafdadccf699f96703323e629d6 Mon Sep 17 00:00:00 2001 From: Yanxuan Liu Date: Thu, 19 Dec 2024 16:07:17 +0800 Subject: [PATCH 1/2] add continue to cache steps Signed-off-by: Yanxuan Liu --- .github/workflows/mvn-verify-check.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/mvn-verify-check.yml b/.github/workflows/mvn-verify-check.yml index 2970c5c709c..c1c47f7bae4 100644 --- a/.github/workflows/mvn-verify-check.yml +++ b/.github/workflows/mvn-verify-check.yml @@ -58,6 +58,7 @@ jobs: echo "dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT - name: Cache local Maven repository id: cache + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -120,6 +121,7 @@ jobs: java-version: 8 - name: Cache local Maven repository + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -173,6 +175,7 @@ jobs: echo "scala213dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT - name: Cache local Maven repository id: cache + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -227,6 +230,7 @@ jobs: java-version: 17 - name: Cache local Maven repository + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -282,6 +286,7 @@ jobs: java-version: 17 - name: Cache local Maven repository + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -336,6 +341,7 @@ jobs: java-version: ${{ matrix.java-version }} - name: Cache local Maven repository + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 @@ -383,6 +389,7 @@ jobs: java-version: 11 - name: Cache local Maven repository + continue-on-error: true uses: actions/cache@v4 with: path: ~/.m2 From 27963bb1f133b7c7564a9ffcfffbbc078c4b7f20 Mon Sep 17 00:00:00 2001 From: Yanxuan Liu Date: Thu, 19 Dec 2024 16:08:29 +0800 Subject: [PATCH 2/2] test timeout Signed-off-by: Yanxuan Liu --- .github/workflows/mvn-verify-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mvn-verify-check.yml b/.github/workflows/mvn-verify-check.yml index c1c47f7bae4..74d70fa0659 100644 --- a/.github/workflows/mvn-verify-check.yml +++ b/.github/workflows/mvn-verify-check.yml @@ -65,12 +65,13 @@ jobs: key: ${{ env.dailyCacheKey }} restore-keys: ${{ runner.os }}-maven- - name: populate-daily-cache - timeout-minutes: 30 + timeout-minutes: 1 continue-on-error: true if: steps.cache.outputs.cache-hit != 'true' env: SCALA_VER: '2.12' run: | + sleep 70 . .github/workflows/mvn-verify-check/populate-daily-cache.sh - name: all shim versions id: all212ShimVersionsStep