Skip to content

Issue #851: improve debug #345

Issue #851: improve debug

Issue #851: improve debug #345

name: UnitTest-Triggered-By-Develop-Push
on:
pull_request:
branches: [ develop ]
push:
branches: [ develop ]
paths-ignore:
- '.github/**'
- 'Docker/**'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout branch ${{ github.ref }} of repo ${{ github.repository }}
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Cache local maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with maven and run unit tests
run: mvn --batch-mode clean install