Skip to content

Update maven.yml

Update maven.yml #1957

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:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest, windows-2019]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Maven Build
run: mvn -B package --file pom.xml -DskipTests
- name: Maven Test
run: mvn test
- uses: actions/upload-artifact@v1
with:
name: maestro.jar
path: orchestration/coe/target/coe-1.0.7-SNAPSHOT-jar-with-dependencies.jar