Update to Quarkus [Platform] 3.4.3 #169
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: "Build" | |
on: | |
push: | |
paths-ignore: | |
- '.github/workflows/cron-build-*.yml' | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/cron-build-*.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 11 , 17 ] | |
mandrel: [ default ] | |
include: | |
- java: 20 | |
mandrel: "23.0" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Install JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Build - JVM | |
run: mvn -B clean verify | |
- name: Build - Native (Default Builder Image) | |
if: matrix.mandrel == 'default' | |
run: mvn -B clean verify -Dnative | |
- name: Build - Native (Specific Builder Image) | |
if: matrix.mandrel != 'default' | |
run: mvn -B clean verify -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:${{ matrix.mandrel }}-java${{ matrix.java }} |