OH2-388 | mutate exam with rows #1941
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: [push, pull_request] | |
env: | |
MAVEN_ARGS: '-B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Determine PR source branch | |
id: extract_branch | |
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF:-develop}" >> $GITHUB_ENV | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
java-package: jdk | |
- name: Checkout core | |
run: | | |
git clone --depth=50 https://github.com/informatici/openhospital-core.git openhospital-core | |
cd openhospital-core | |
git fetch origin ${{ env.BRANCH_NAME }} || git fetch origin develop | |
git checkout ${{ env.BRANCH_NAME }} || git checkout develop | |
cd .. | |
- name: Install core | |
run: cd openhospital-core && mvn install -DskipTests=true && cd .. | |
- name: Build with Maven | |
run: mvn install -DskipTests=true |