Skip to content

Bump docker/build-push-action from 4 to 5 #38

Bump docker/build-push-action from 4 to 5

Bump docker/build-push-action from 4 to 5 #38

Workflow file for this run

name: Java CI on Pull Request Java 8
on:
pull_request:
branches:
- 'master'
- 'develop'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
java: [ 8, 11, 17 ]
runs-on: ubuntu-latest
name: Java ${{ matrix.java }} compile
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Cache Maven Repo
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -fae -U -B clean license:check install -P check --file pom.xml