Skip to content

Test all supported Java versions #135

Test all supported Java versions

Test all supported Java versions #135

Workflow file for this run

name: Java CI
on:
push:
branches: [ "main", "1.0", "2.0", "2.1", "2.2", "2.3", "2.4", "2.4.1", "2.4.2", "3.0", "3.0.1", "3.1" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ java-version }}

Check failure on line 21 in .github/workflows/maven.yml

View workflow run for this annotation

GitHub Actions / Java CI

Invalid workflow file

The workflow is not valid. .github/workflows/maven.yml (Line: 21, Col: 23): Unrecognized named-value: 'java-version'. Located at position 1 within expression: java-version
distribution: 'zulu'
- name: Build with Maven
run: ./mvnw -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify -B