Skip to content

Try alternative approach to use Maven 3.9 #2

Try alternative approach to use Maven 3.9

Try alternative approach to use Maven 3.9 #2

# This workflow will build UML Designer with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build and Test UML Designer
on:
push:
branches: [ "capella-2023-03" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
with:
java-version: '17'
distribution: 'temurin'
maven-version: '3.9.5'
- name: Build uml designer
run: mvn clean verify --batch-mode --update-snapshots --fail-at-end --file pom.xml
- name: Build uml designer products
run: mvn clean verify --batch-mode --update-snapshots --fail-at-end --file releng/org.obeonetwork.dsl.uml2.product.parent/pom.xml
- name: Prepare deployment
run: ./prepare-deploy-local-dir.sh pages
- name: Attach Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1
- name: Attach Pages
uses: actions/upload-artifact@v3
with:
name: UMLDesigner-pages
path: pages
retention-days: 5