Skip to content

geebus

geebus #29

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/setup-maven@v4.5
with:
maven-version: 3.9.4
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v3.0.11
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