This is an automated email from the ASF dual-hosted git repository. alien11689 pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/aries.git
commit c392b736b139cdf332e4d5a262890177a50870da Author: Dominik Przybysz <[email protected]> AuthorDate: Wed Apr 23 19:52:14 2025 +0200 ARIES-2165: Build application with Java 11, 17 and 21 --- .github/workflows/application.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/application.yml b/.github/workflows/application.yml index 11cad7019..6ef56433d 100644 --- a/.github/workflows/application.yml +++ b/.github/workflows/application.yml @@ -31,21 +31,33 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8 ] + java: [ 8, 11, 17, 21 ] os: [ ubuntu-latest ] name: JDK${{ matrix.java }} ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: - name: Git Checkout uses: actions/checkout@v4 - - name: Set up Java + - name: Set up Java 8 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: ${{ matrix.java }} + java-version: 8 - name: Build parent shell: bash run: mvn -U -e -B -ntp clean install -f parent + - name: Build versioning + shell: bash + run: mvn -V -U -e -B -ntp -Dmaven.test.skip=true clean install -f versioning + - name: Build util + shell: bash + run: mvn -V -U -e -B -ntp -Dmaven.test.skip=true clean install -f util + - name: Set up Java ${{ matrix.java }} + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + if: ${{ 8 != matrix.java }} - name: Build application shell: bash run: mvn -U -e -B -ntp clean install -f application
