Skip to content

Add CancelNotifier #237

Add CancelNotifier

Add CancelNotifier #237

Workflow file for this run

# 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://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Maven build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
workshop:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: "21"
distribution: "temurin"
cache: maven
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build with Maven for Windows
run: mvn -B package --file pom.xml
- name: Build with Maven for OSX intel
run: mvn -DskipTests -Posx-intel -Djavafx.platform=mac -B package --file pom.xml
- name: Build with Maven for OSX arm
run: mvn -DskipTests -Posx-arm -Djavafx.platform=mac-aarch64 -B package --file pom.xml