build(deps): Bump groovy.version from 4.0.21 to 4.0.22 #5940
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
pull_request: | |
branches: [ 'master' ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '17', '21' ] | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
experimental: [ false ] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven in Mac | |
if: runner.os == 'Macos' | |
run: mvn -B package --file pom.xml -DskipTests '-Dmaven.javadoc.skip=true' '-Djavafx.platform=mac' | |
- name: Build with Maven | |
if: runner.os != 'Macos' | |
run: mvn -B package --file pom.xml -DskipTests '-Dmaven.javadoc.skip=true' | |
- name: Test with Maven in Mac | |
if: runner.os == 'Macos' | |
run: mvn test --file pom.xml -DworkEnv=ci '-Djavafx.platform=mac' | |
- name: Test with Maven | |
if: runner.os != 'Macos' | |
run: mvn test --file pom.xml -DworkEnv=ci |