Skip to content

Task PHIS: downgrade Elasticsearch #78

Task PHIS: downgrade Elasticsearch

Task PHIS: downgrade Elasticsearch #78

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