Skip to content

Add local build profile to pom.xml #11

Add local build profile to pom.xml

Add local build profile to pom.xml #11

Workflow file for this run

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Maven Package
on:
push:
branches:
- master
- experimental
pull_request:
branches:
- master
- experimental
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
- name: Create Target Directory
run: mkdir -p target
- name: Build with Maven
run: mvn package --file ../pom.xml
working-directory: target