Add JDK 21 build #223
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
name: Pull Request Gate CI | |
on: pull_request | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
java_version: [17, 21] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java_version }} | |
- name: Build uber-jar with Gradle | |
run: ./gradlew quarkusBuild -Dquarkus.package.type=uber-jar | |
# - name: Build native image | |
# run: ./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true |