Skip to content

Bump actions/cache from 3 to 4 #436

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #436

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
strategy:
matrix:
java: [ '8.0.192', '8', '11.0.3', '11', '15', '17' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: print Java version
run: java -version
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V