File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212 runs-on : ubuntu-latest
13- timeout-minutes : 20
13+ timeout-minutes : 15
1414 strategy :
1515 fail-fast : false
1616 matrix :
@@ -33,15 +33,21 @@ jobs:
3333 with :
3434 java-version : ${{ matrix.java-version }}
3535 distribution : " adopt"
36- cache : " maven"
36+ - name : Cache Maven dependencies
37+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
38+ with :
39+ path : ~/.m2/repository
40+ key : v1-${{ runner.os }}-maven-${{ matrix.java-version }}-${{ hashFiles('**/pom.xml') }}
41+ restore-keys : |
42+ v1-${{ runner.os }}-maven-${{ matrix.java-version }}-
3743 - name : Compile
3844 run : |
3945 if [ ${{ matrix.java-version }} == "8" ]; then
4046 export TRAVIS_JDK=openjdk8
4147 fi
4248 ./scripts/run_no_prep_tests.sh clean compile test-compile
4349 env :
44- CI_ARGS : " -T 1C"
50+ CI_ARGS : " --batch-mode - T 1C"
4551 MAVEN_OPTS : ${{ matrix.maven-opts }}
4652 - name : Run tests
4753 run : |
You can’t perform that action at this time.
0 commit comments