Merge pull request #704 from Whiteyingshan/dev #453
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 builds the full Java project using Maven. | |
# The webapp is not included. | |
name: Build Dicoogle with Maven | |
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
paths: | |
- 'pom.xml' | |
- 'short-license.txt' | |
- 'dicoogle/**' | |
- 'sdk/**' | |
- '.github/workflows/maven.yml' | |
- '!dicoogle/src/main/resources/webapp/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: ['8', '11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java (JDK ${{ matrix.java-version }}) | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
cache: 'maven' | |
- name: Build with Maven | |
run: mvn -B package license:check -Dskip.installnodenpm -Dskip.npm -Dskip.format --file pom.xml |