Skip to content

[#267] update build pipeline #228

[#267] update build pipeline

[#267] update build pipeline #228

Workflow file for this run

name: GitHub CI
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
MAVEN_OPTS: '-Xms2048m -Xmx2048m'
MAVEN_ARGS: |
--show-version
--errors
--batch-mode
--no-transfer-progress
-Dinvoker.streamLogsOnFailures=true
-Pnonindy
jobs:
ci:
strategy:
fail-fast: false
matrix:
jdk: [ 11, 21 ]
groovy-version: ['3.0.18', '4.0.15']
exclude:
# JDK 21 support was added in 4.0.11.
- jdk: 21
groovy-version: '3.0.18'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: jdk setup
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'zulu'
- name: full test
run: >-

Check failure on line 46 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / GitHub CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 46, Col: 14): Unexpected symbol: '"3"'. Located at position 37 within expression: startsWith( matrix.groovy-version , "3" ) && 'org.codehaus.groovy' || 'org.apache.groovy'
./mvnw ${MAVEN_ARGS} \
-DgroovyVersion=${{ matrix.groovy-version }} \
-DgroovyGroupId=${{ startsWith( matrix.groovy-version , "3" ) && 'org.codehaus.groovy' || 'org.apache.groovy' }} \
clean install invoker:install invoker:run