Skip to content

Fix #357 - dropped else block #189

Fix #357 - dropped else block

Fix #357 - dropped else block #189

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
with:
# Clone decompilation test data submodule
submodules: true
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
cache: maven
- id: maven-build
name: Build with Maven
run: mvn --batch-mode --update-snapshots -Dgpg.skip=true clean verify
- name: Upload decompilation test failures artifact
# Only run when Maven build failed, see https://github.community/t/run-step-only-if-previous-step-failed/127124/3
if: failure() && steps.maven-build.outcome == 'failure'
uses: actions/upload-artifact@v2
with:
name: decompilation-test-failures-diff
path: target/cfr-test-failures-diff