Skip to content

Enumliteral

Enumliteral #60

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Tycho
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: |
mkdir -p bundles/org.eclipse.epsilon.emc.magicdraw.remote/lib
mvn -B package -f magicdraw-plugin/org.eclipse.epsilon.emc.magicdraw.modelapi/pom.xml
cp magicdraw-plugin/org.eclipse.epsilon.emc.magicdraw.modelapi/target-plain/*-uberjar.jar bundles/org.eclipse.epsilon.emc.magicdraw.remote/lib
mvn -B test -f pom.xml