Skip to content

Use matrix build

Use matrix build #5

Workflow file for this run

name: Build
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
runner: [ ubuntu-latest, windows-latest, macos-latest ]
name: Build (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
cache: 'maven'
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots verify