Skip to content

Commit c392b73

Browse files
committed
ARIES-2165: Build application with Java 11, 17 and 21
1 parent d6df596 commit c392b73

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/application.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,33 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
java: [ 8 ]
34+
java: [ 8, 11, 17, 21 ]
3535
os: [ ubuntu-latest ]
3636
name: JDK${{ matrix.java }} ${{ matrix.os }}
3737
runs-on: ${{ matrix.os }}
3838
steps:
3939
- name: Git Checkout
4040
uses: actions/checkout@v4
41-
- name: Set up Java
41+
- name: Set up Java 8
4242
uses: actions/setup-java@v4
4343
with:
4444
distribution: 'temurin'
45-
java-version: ${{ matrix.java }}
45+
java-version: 8
4646
- name: Build parent
4747
shell: bash
4848
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 }}
4961
- name: Build application
5062
shell: bash
5163
run: mvn -U -e -B -ntp clean install -f application

0 commit comments

Comments
 (0)