Skip to content

Bump actions/setup-java from 4.2.1 to 4.2.2 #154

Bump actions/setup-java from 4.2.1 to 4.2.2

Bump actions/setup-java from 4.2.1 to 4.2.2 #154

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11, 17 ]
experimental: [false]
# include:
# - java: 18-ea
# experimental: true
steps:
- uses: actions/checkout@v4.1.7
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.2.2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v4.0.2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -B clean package --file pom.xml