Skip to content

Bump actions/setup-java from 4.0.0 to 4.1.0 #141

Bump actions/setup-java from 4.0.0 to 4.1.0

Bump actions/setup-java from 4.0.0 to 4.1.0 #141

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.1.0
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build with mvn
run: |
mvn clean install