Skip to content

[#267] update build pipeline #248

[#267] update build pipeline

[#267] update build pipeline #248

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, 17 ]
# empty == use pom.xml
groovy-version: ['2.5.23', '3.0.19', '4.0.15', '' ]
exclude:
- jdk: 17
groovy-version: '3.0.18'
runs-on: ubuntu-latest
env:
MVN_GROOVY_GROUPID: ${{ matrix.groovy-version != '' && format('{0}{1}', '-DgroovyVersion=', matrix.groovy-version) || '' }}
MVN_GROOVY_VERSION: ${{ ( startsWith( matrix.groovy-version , '2' ) || startsWith( matrix.groovy-version , '3' ) ) && '-DgroovyGroupId=org.codehaus.groovy' || '' }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: jdk setup
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: full test
run: >-

Check failure on line 50 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: 50, Col: 14): Unrecognized named-value: 'MVN_GROOVY_GROUPID'. Located at position 1 within expression: MVN_GROOVY_GROUPID
./mvnw ${MAVEN_ARGS}
${{ MVN_GROOVY_GROUPID }}
${{ MVN_GROOVY_VERSION }}
clean install invoker:install invoker:run