Skip to content

Bump actions/setup-java from 4.0.0 to 4.2.1 #145

Bump actions/setup-java from 4.0.0 to 4.2.1

Bump actions/setup-java from 4.0.0 to 4.2.1 #145

Workflow file for this run

name: Java CI
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ ubuntu-latest , windows-latest ]
java: [ 8, 11 ]
experimental: [ false ]
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/cache@v4.0.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build with mvn
run: |
mvn clean install