Skip to content

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

Bump actions/setup-java from 3 to 4

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

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
strategy:
matrix:
java: ['17', '21' ]
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: print Java version
run: java -version
- name: Build
env:
MAVEN_OPTS: --add-opens java.base/java.util=ALL-UNNAMED
run: mvn -B clean spotless:check package biz.aQute.bnd:bnd-resolver-maven-plugin:resolve --file pom.xml