Skip to content

Update workflow

Update workflow #3

Workflow file for this run

name: Verify
inputs:

Check failure on line 3 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Verify

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 3, Col: 1): Unexpected value 'inputs'
jdk-matrix:
description: jdk matrix as json array
required: false
default: '[ 8, 11, 17, 21 ]'
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and Test on JDK ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: ${{ fromJSON( inputs.jdk-matrix ) }}
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: false
show-progress: false
- name: "Set up JDK ${{ matrix.java }}"
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build & Test
run: ./mvnw -B verify -P run-its