Bump quarkus.platform.version from 3.2.3.Final to 3.2.4.Final #463
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
name: Java CI with Maven | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/maven.yml | |
- .github/project.yml | |
- "**.xml" | |
- "*.yml" | |
- "src/**" | |
- "ide-config" | |
pull_request: | |
paths: | |
- "**.xml" | |
- "src/**" | |
- "ide-config" | |
env: | |
JAVA_VERSION: 17 | |
GRAALVM_VERSION: 22.3.2 | |
JAVA_DISTRO: temurin | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK ${{ env.JAVA_VERSION }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ env.JAVA_VERSION }} | |
distribution: ${{ env.JAVA_DISTRO }} | |
cache: maven | |
- name: Build with Maven | |
id: mvn-build | |
run: ./mvnw -B -ntp formatter:validate verify | |
native-build: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
version: ${{ env.GRAALVM_VERSION }} | |
java-version: ${{ env.JAVA_VERSION }} | |
components: "native-image" | |
cache: 'maven' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and run in native mode | |
id: mvn-native-build | |
env: | |
MAVEN_OPTS: "-Xmx1g" | |
run: | | |
./mvnw -B -ntp verify -Dnative -DskipTests -DskipFormat | |
update-snapshot: | |
if: github.ref == 'refs/heads/main' | |
needs: build | |
uses: ./.github/workflows/antifreeze.yml | |
with: | |
update-snapshot-tag: true | |
secrets: inherit |