Skip to content

Use maven-scm-publish-plugin instead of wagon-gitsite #311

Use maven-scm-publish-plugin instead of wagon-gitsite

Use maven-scm-publish-plugin instead of wagon-gitsite #311

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
defaults:
run:
shell: 'bash -o errexit -o nounset -o pipefail {0}'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
groovy-version:
- 2.5.23
- 3.0.19
- 4.0.15
- 5.0.0-alpha-2
env:
MVN_GROOVY_GROUP_ID: ${{format('{0}{1}', '-DgroovyVersion=', matrix.groovy-version)}}
MVN_GROOVY_VERSION: ${{(startsWith(matrix.groovy-version, '2') || startsWith(matrix.groovy-version, '3')) && '-DgroovyGroupId=org.codehaus.groovy' || '-DgroovyGroupId=org.apache.groovy'}}
steps:
- name: checkout
uses: actions/checkout@v4
- name: jdk setup
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: full test
run: >-
./mvnw ${MAVEN_ARGS} ${MVN_GROOVY_GROUP_ID} ${MVN_GROOVY_VERSION}
clean install invoker:install invoker:run