Skip to content

correct

correct #27

Workflow file for this run

name: Java CI
on: [push]
env:
MAVEN_OPTS: "--enable-preview"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.4
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: graalvm/setup-graalvm@v1
with:
java-version: '20.0.1'
distribution: graalvm
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build with Maven
run: mvn -batch-mode --update-snapshots clean install --file pom.xml