Skip to content

feat: auto-detect JAVA_HOME of java versions when running in GitHub… #691

feat: auto-detect JAVA_HOME of java versions when running in GitHub…

feat: auto-detect JAVA_HOME of java versions when running in GitHub… #691

Workflow file for this run

name: Fast CI
on:
push:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
java: [ 8, 21 ]
fail-fast: false
max-parallel: 32
name: CI on JDK ${{ matrix.java }} OS ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
cache: maven
- name: Test with build
run: ./mvnw -V --no-transfer-progress clean package