Skip to content

Swap CI to JDK 17 minimum #127

Swap CI to JDK 17 minimum

Swap CI to JDK 17 minimum #127

Workflow file for this run

# 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: "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