File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed
Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 2424 os-name : [ubuntu-latest]
2525 java-version :
2626 - GA # Latest GA JDK
27- - EA # Current Mainline
27+ # - EA # Current Mainline (lombok doesn't yet support)
2828 include :
2929 - os-name : macos-latest
3030 java-version : GA
4141 uses : oracle-actions/setup-java@v1
4242 with :
4343 website : jdk.java.net
44- release : ${{ matrix.java_version }}
45-
44+ release : ${{ matrix.java-version }}
45+
46+ - name : Maven cache
47+ uses : actions/cache@v4
48+ env :
49+ cache-name : maven-cache
50+ with :
51+ path :
52+ ~/.m2
53+ key : build-${{ env.cache-name }}
54+
4655 - name : Compile and run tests
4756 shell : bash
4857 run : ./mvnw -B -U clean verify
Original file line number Diff line number Diff line change 2626 - 11 # LTS
2727 - 17 # LTS
2828 - 21 # LTS
29- include :
30- - os-name : macos-latest
31- java-version : 23
32- - os-name : windows-latest
33- java-version : 23
34-
3529 steps :
3630 - name : Checkout repository
3731 uses : actions/checkout@v4
4539 distribution : zulu
4640 java-version : ${{ matrix.java-version }}
4741
42+ - name : Maven cache
43+ uses : actions/cache@v4
44+ env :
45+ cache-name : maven-cache
46+ with :
47+ path :
48+ ~/.m2
49+ key : build-${{ env.cache-name }}
50+
4851 - name : Compile and run tests
4952 shell : bash
5053 run : ./mvnw -B -U clean verify
You can’t perform that action at this time.
0 commit comments