Skip to content

[maven-release-plugin] prepare release shedlock-parent-4.46.0 #2540

[maven-release-plugin] prepare release shedlock-parent-4.46.0

[maven-release-plugin] prepare release shedlock-parent-4.46.0 #2540

Workflow file for this run

name: CI
on:
push:
branches: [master, version4]
pull_request:
types: [ opened, reopened, synchronize ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '18']
# Kotlin needs access to java.util
include:
- java: '11'
maven-opts: ''
maven-params: -pl '!spring/test/shedlock-springboot-future-test'
- java: '17'
maven-opts: --add-opens java.base/java.util=ALL-UNNAMED
maven-params: ''
- java: '18'
maven-opts: --add-opens java.base/java.util=ALL-UNNAMED
maven-params: ''
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
env:
MAVEN_OPTS: ${{ matrix.maven-opts }}
run: mvn ${{ matrix.maven-params }} test javadoc:javadoc
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'
annotate_notice: false
check_name: Test report ${{ matrix.java }}