Skip to content

Fix build CI

Fix build CI #10

Workflow file for this run

name: Build
on:
pull_request_target:
branches:
- hawtio-3.x
- hawtio-4.x
paths-ignore:
- '**.md'
push:
branches:
- hawtio-3.x
- hawtio-4.x
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: ['11', '17', '21']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: |
mvn --batch-mode --no-transfer-progress install