Skip to content

Develop

Develop #279

Workflow file for this run

name: Build
on:
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Get current version
id: version
run: echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)"
- run: echo ${{steps.version.outputs.prop}}
- name: Build with Maven
run: mvn install --file pom.xml --batch-mode --no-transfer-progress
- name: Upload war
uses: actions/upload-artifact@v2
with:
name: war
path: target/*.war