Skip to content

Bump actions/setup-java from 4.5.0 to 4.6.0 #219

Bump actions/setup-java from 4.5.0 to 4.6.0

Bump actions/setup-java from 4.5.0 to 4.6.0 #219

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: [ 11,17 ]
experimental: [ false ]
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/cache@v4.1.2
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.6.0
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build with mvn
run: |
mvn clean install