Skip to content

Bump the maven group with 2 updates #80

Bump the maven group with 2 updates

Bump the maven group with 2 updates #80

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_call:
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Get JDK version from Maven project
shell: bash
run: |
JDK_VERSION=$(mvn help:evaluate -Dexpression=maven.compiler.source -q -DforceStdout)
echo "JDK_VERSION=$JDK_VERSION" >> $GITHUB_ENV
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.JDK_VERSION }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B clean verify --file pom.xml