WELD-2777 Add JDK 21 to CI setup #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple CI job that does `mvn clean install` on several JDKs | |
name: Weld API CI | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: "Build Weld API - JDK ${{matrix.java.name}}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: | |
- { name: "11", | |
java-version: 11, | |
} | |
- { | |
name: "17", | |
java-version: 17, | |
} | |
- { | |
name: "21", | |
java-version: 21, | |
} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java.name }} | |
uses: actions/[email protected] | |
with: | |
java-version: ${{ matrix.java.java-version }} | |
distribution: 'temurin' | |
- name: "Build with Maven" | |
run: | | |
mvn clean install -Dno-format |