[36] Avoid using costly Exception for package not found errors #118
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
name: Build | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java SDK | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
- name: Maven | |
run: mvn clean verify -f releng/org.eclipse.sirius.emfjson.releng/pom.xml | |
- name: Deploy | |
if: startsWith(github.ref, 'refs/tags/v') | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: mvn deploy -f releng/org.eclipse.sirius.emfjson.releng/pom.xml |