Skip to content

Fix maven build

Fix maven build #152

Workflow file for this run

name: Build and test (Maven)
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- name: Build with Maven
run: |
mkdir -p ~/.m2
printf "<settings><servers><server><id>github</id><username>${{ secrets.ORG_USERNAME }}</username><password>${{ secrets.ORG_TOKEN }}</password></server></servers></settings>" > ~/.m2/settings.xml
mvn -B package --file pom.xml