add cache timeout
@@ -81,6 +81,8 @@ jobs:
java-version: 11
# Step that does that actual cache save and restore
- uses: actions/cache@v3
+ env:
+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: 10
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -123,6 +125,8 @@ jobs:
java-version: 11
# Step that does that actual cache save and restore
- uses: actions/cache@v3
+ env:
+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: 10
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -166,6 +170,8 @@ jobs:
java-version: 1.8
# Step that does that actual cache save and restore
- uses: actions/cache@v3
+ env:
+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: 10
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -204,6 +210,8 @@ jobs:
java-version: ${{ matrix.java }}
# Step that does that actual cache save and restore
- uses: actions/cache@v3
+ env:
+ SEGMENT_DOWNLOAD_TIMEOUT_MIN: 10
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
