File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 38
38
with :
39
39
distribution : ${{ matrix.distribution }}
40
40
java-version : ${{ matrix.java }}
41
- cache : ' maven'
41
+
42
+ - name : Cache Maven
43
+ uses : actions/cache@v4
44
+ with :
45
+ path : ~/.m2/repository
46
+ key : ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
47
+ restore-keys : |
48
+ ${{ runner.os }}-mvn-build-
42
49
43
50
- name : Build with Maven
44
51
run : ./mvnw -B clean package -P run-integration-tests
78
85
79
86
# Ensure compatibility with Java 11
80
87
# See https://github.com/xdev-software/chartjs-java-model/issues/14
81
- build-legacy- java-11 :
88
+ build-java-11 :
82
89
runs-on : ubuntu-latest
83
90
timeout-minutes : 30
84
91
steps :
94
101
uses : actions/cache@v4
95
102
with :
96
103
path : ~/.m2/repository
97
- key : ${{ runner.os }}-mvn-java-11-${{ hashFiles('**/pom.xml') }}
104
+ key : ${{ runner.os }}-mvn-build- java-11-${{ hashFiles('**/pom.xml') }}
98
105
restore-keys : |
99
- ${{ runner.os }}-mvn-java-11-
106
+ ${{ runner.os }}-mvn-build- java-11-
100
107
101
108
- name : Build with Maven
102
109
run : ./mvnw -B clean package -Dmaven.test.skip=true
You can’t perform that action at this time.
0 commit comments