File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,33 @@ jobs:
31
31
strategy :
32
32
fail-fast : false
33
33
matrix :
34
- java : [ 8 ]
34
+ java : [ 8, 11, 17, 21 ]
35
35
os : [ ubuntu-latest ]
36
36
name : JDK${{ matrix.java }} ${{ matrix.os }}
37
37
runs-on : ${{ matrix.os }}
38
38
steps :
39
39
- name : Git Checkout
40
40
uses : actions/checkout@v4
41
- - name : Set up Java
41
+ - name : Set up Java 8
42
42
uses : actions/setup-java@v4
43
43
with :
44
44
distribution : ' temurin'
45
- java-version : ${{ matrix.java }}
45
+ java-version : 8
46
46
- name : Build parent
47
47
shell : bash
48
48
run : mvn -U -e -B -ntp clean install -f parent
49
+ - name : Build versioning
50
+ shell : bash
51
+ run : mvn -V -U -e -B -ntp -Dmaven.test.skip=true clean install -f versioning
52
+ - name : Build util
53
+ shell : bash
54
+ run : mvn -V -U -e -B -ntp -Dmaven.test.skip=true clean install -f util
55
+ - name : Set up Java ${{ matrix.java }}
56
+ uses : actions/setup-java@v4
57
+ with :
58
+ distribution : ' temurin'
59
+ java-version : ${{ matrix.java }}
60
+ if : ${{ 8 != matrix.java }}
49
61
- name : Build application
50
62
shell : bash
51
63
run : mvn -U -e -B -ntp clean install -f application
You can’t perform that action at this time.
0 commit comments