Skip to content

[SERV-1032] Fix grok runtime by adding libperl dependency #263

[SERV-1032] Fix grok runtime by adding libperl dependency

[SERV-1032] Fix grok runtime by adding libperl dependency #263

Workflow file for this run

name: Maven PR Build
# We require all commits go through PR on GitHub
on:
pull_request:
branches:
- main
jobs:
build:
name: Maven PR Builder (JDK ${{ matrix.java }} with ${{ matrix.build_property }})
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
build_property: [ "kakadu.version", "ignored.version" ]
steps:
- name: Check out code
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2 # v1
with:
java-version: ${{ matrix.java }}
cache: maven
- name: Install Kakadu SSH key
uses: webfactory/ssh-agent@ee29fafb6aa450493bac9136b346e51ea60a8b5e # v0.4.1
env:
KAKADU_PRIVATE_SSH_KEY: ${{ secrets.KAKADU_PRIVATE_SSH_KEY }}
if: ${{ matrix.build_property == 'kakadu.version' && env.KAKADU_PRIVATE_SSH_KEY != null }}
with:
ssh-private-key: ${{ secrets.KAKADU_PRIVATE_SSH_KEY }}
- name: Build with Maven
uses: samuelmeuli/action-maven-publish@201a45a3f311b2ee888f252ba9f4194257545709 # v1.4.0
env:
KAKADU_PRIVATE_SSH_KEY: ${{ secrets.KAKADU_PRIVATE_SSH_KEY }}
if: |
(matrix.build_property == 'kakadu.version' && env.KAKADU_PRIVATE_SSH_KEY != null) ||
matrix.build_property != 'kakadu.version'
with:
maven_goals_phases: "clean verify"
maven_profiles: default,${{ secrets.BUILD_PROFILES }}
maven_args: >
-V -ntp -Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=error -DlogLevel=DEBUG -DtestLogLevel=DEBUG
-D${{ matrix.build_property }}=${{ secrets.KAKADU_VERSION }}