Skip to content

Bump actions/setup-java from 2 to 4 #294

Bump actions/setup-java from 2 to 4

Bump actions/setup-java from 2 to 4 #294

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/[email protected]
- 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