File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212 runs-on : ubuntu-latest
13- timeout-minutes : 30
13+ timeout-minutes : 20
1414 strategy :
1515 fail-fast : false
1616 matrix :
@@ -26,11 +26,18 @@ jobs:
2626 with :
2727 java-version : ${{ matrix.java-version }}
2828 distribution : " adopt"
29+ - name : Cache Maven repository
30+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
31+ with :
32+ path : ~/.m2/repository
33+ key : maven-${{ runner.os }}-${{ matrix.java-version }}-${{ hashFiles('**/pom.xml') }}
34+ restore-keys : |
35+ maven-${{ runner.os }}-${{ matrix.java-version }}-
2936 - name : Compile
3037 run : ./scripts/run_no_prep_tests.sh clean test-compile
3138 env :
3239 CI_ARGS : " --batch-mode"
33- MAVEN_OPTS : " -Xmx8g -Xms1g"
40+ MAVEN_OPTS : " -Xmx10g -Xms1g"
3441 - name : Run tests
3542 run : ./scripts/run_no_prep_tests.sh test
3643 env :
You can’t perform that action at this time.
0 commit comments