Skip to content

PHIS-3588 | Add Elasticsearch dependency and ELv2.0 License (#19) #84

PHIS-3588 | Add Elasticsearch dependency and ELv2.0 License (#19)

PHIS-3588 | Add Elasticsearch dependency and ELv2.0 License (#19) #84

Workflow file for this run

name: Maven Tests
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load Java version
id: java_version
shell: bash
run: |
java_version=$(cat ./es-java-version)
if [[ "${java_version}" =~ ^[0-9]{1,3}$ ]]; then
echo "java_version=${java_version}" >> $GITHUB_OUTPUT
fi
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: "${{ steps.java_version.outputs.java_version }}"
distribution: 'temurin'
- name: Test with Maven
run: mvn -B test --file pom.xml