Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: add timeout for cache deps steps [skip ci] #11894

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/mvn-verify-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ 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
key: ${{ env.dailyCacheKey }}
restore-keys: ${{ runner.os }}-maven-
- name: populate-daily-cache
timeout-minutes: 30
continue-on-error: true
if: steps.cache.outputs.cache-hit != 'true'
env:
SCALA_VER: '2.12'
Expand Down Expand Up @@ -118,6 +121,7 @@ jobs:
java-version: 8

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -171,12 +175,15 @@ 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
key: ${{ env.scala213dailyCacheKey }}
restore-keys: ${{ runner.os }}-maven-
- name: populate-daily-cache
timeout-minutes: 30
continue-on-error: true
if: steps.cache.outputs.cache-hit != 'true'
env:
SCALA_VER: '2.13'
Expand Down Expand Up @@ -223,6 +230,7 @@ jobs:
java-version: 17

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -278,6 +286,7 @@ jobs:
java-version: 17

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down Expand Up @@ -332,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
Expand Down Expand Up @@ -379,6 +389,7 @@ jobs:
java-version: 11

- name: Cache local Maven repository
continue-on-error: true
uses: actions/cache@v4
with:
path: ~/.m2
Expand Down
Loading