Fixing warning in build output #3
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 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' | |
java-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 && tar czvf UMLDesigner-pages.tar.gz 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 |