Skip to content

Compile Java source files #60

Compile Java source files

Compile Java source files #60

name: Compile Java source files
on:
pull_request:
branches:
- main
paths:
- '**/*.java'
- 'pom.xml'
- 'docs/antora.yml'
- '.github/workflows/maven-pr-builder.yaml'
schedule:
- cron: '15 2 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Maven compile
run: |
HZ_VERSION=$(grep full-version docs/antora.yml|sed "s/.*:[ ]*'\(.*\)'/\1/")
mvn --show-version --batch-mode --no-transfer-progress test "-Dhazelcast.version=$HZ_VERSION"