Skip to content

Update pom.xml

Update pom.xml #21

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Playground
on:
push:
branches: [ playground ]
pull_request:
branches: [ playground ]
jobs:
play-on-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Show Toolchain
run: cat ~/.m2/toolchains.xml
- name: Build with Maven
run: mvn -B package --file pom.xml
- run: mkdir staging && cp target/*.jar target/*.exe staging
- uses: actions/upload-artifact@v4
with:
name: Package (.jar and .exe)
path: staging
play-on-macos-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Show Toolchain
run: cat ~/.m2/toolchains.xml
- name: Build with Maven
run: mvn -B package --file pom.xml
- run: mkdir staging && cp target/*.dmg staging
- uses: actions/upload-artifact@v4
with:
name: Package (.dmg)
path: staging