Skip to content

Merge pull request #94 from eclipse-emf-parsley/issue-93-remove-emf-q… #137

Merge pull request #94 from eclipse-emf-parsley/issue-93-remove-emf-q…

Merge pull request #94 from eclipse-emf-parsley/issue-93-remove-emf-q… #137

Workflow file for this run

name: Java CI with Maven (macOS)
on:
push:
paths-ignore:
- '**.md'
# Sequence of patterns matched against refs/heads
branches:
# Push events on the main branch
- master
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2.5.0
- name: Set up JDK 17
uses: actions/setup-java@v3.6.0
with:
java-version: 17
distribution: temurin
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: |
~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml', '**/*.target') }}
restore-keys: ${{ runner.os }}-m2-
- name: Build with Maven
run: >
./mvnw -f releng/org.eclipse.emf.parsley.parent/pom.xml
-Prcp-build
clean verify
- name: Archive UI Tests Screenshots
uses: actions/upload-artifact@v2
if: ${{ failure() || cancelled() }}
with:
name: screenshots-${{ runner.os }}
path: '**/screenshots'
- name: Archive Logs
uses: actions/upload-artifact@v2
if: ${{ failure() || cancelled() }}
with:
name: logs-${{ runner.os }}
path: '**/target/work/data/.metadata/.log'