Skip to content

Change Database transaction example from NEVER to NOT_SUPPORTED #514

Change Database transaction example from NEVER to NOT_SUPPORTED

Change Database transaction example from NEVER to NOT_SUPPORTED #514

Workflow file for this run

name: Build
on:
push:
branches:
- "main"
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
pull_request:
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
build:
name: Build on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare git
run: git config --global core.autocrlf false
if: startsWith(matrix.os, 'windows')
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: graalvm/setup-graalvm@v1
with:
distribution: ${{startsWith(matrix.os,'macos') && 'liberica' || 'mandrel'}}
java-package: 'jdk+fx'
java-version: '21'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Build with Maven
run: mvn -B -U clean install -Dno-format
- name: Build with Maven (Native)
run: mvn -B verify -Dnative -Dnative.surefire.skip -Dquarkus.native.native-image-xmx=13g
if: ${{ startsWith(matrix.os, 'windows') == false}}