Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Separate openapi check workflow from build one (#423) #731

Separate openapi check workflow from build one (#423)

Separate openapi check workflow from build one (#423) #731

Workflow file for this run

# 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: Checkout core
run: git clone --depth=50 --branch=develop https://github.com/informatici/openhospital-core.git openhospital-core
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
java-package: jdk
- name: Install core
run: cd openhospital-core && mvn install -DskipTests=true && cd ..
- name: Build with Maven
run: mvn install -DskipTests=true