Skip to content

Bump actions/cache from 2.1.7 to 4.0.1 #309

Bump actions/cache from 2.1.7 to 4.0.1

Bump actions/cache from 2.1.7 to 4.0.1 #309

Workflow file for this run

name: build
on:
push:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8' ]
hazelcast: [ '4.0.3', '4.1' ]
architecture: [ 'x64' ]
name: Build with JDK ${{ matrix.java }} and Hazelcast ${{ matrix.hazelcast }}
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
- uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -Dhazelcast.version=${{ matrix.hazelcast }} package