Skip to content

Upgrade parent pom to 0.26.0 and switching to Java 17 for compilation. #63

Upgrade parent pom to 0.26.0 and switching to Java 17 for compilation.

Upgrade parent pom to 0.26.0 and switching to Java 17 for compilation. #63

Workflow file for this run

name: Build project
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: adopt-openj9
java-version: 11
- 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-
- name: Build with Maven
run: mvn -B clean package --file pom.xml