Skip to content

Bump actions/setup-java from 3 to 4 #209

Bump actions/setup-java from 3 to 4

Bump actions/setup-java from 3 to 4 #209

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Test
run: mvn test -B