Update maven-pr-builder.yml

removed the if checking block for building Pull Requests as this was redundant code.
This commit is contained in:
Subhrodip Mohanta 2020-08-28 12:26:27 +05:30 committed by GitHub
parent 7118ccafa9
commit 47e746c3ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,9 +49,8 @@ jobs:
${{ runner.os }}-maven-
# Some tests need screen access
- name: Install xvfb
run: sudo apt-get install xvfb
run: sudo apt-get install -y xvfb
# SonarQube scan does not work for forked repositories
# See https://jira.sonarsource.com/browse/MMF-1371
- name: Build with Maven
if: github.ref != 'refs/heads/master'
run: xvfb-run mvn clean verify