Update maven-pr-builder.yml
removed the if checking block for building Pull Requests as this was redundant code.
This commit is contained in:
parent
7118ccafa9
commit
47e746c3ba
3
.github/workflows/maven-pr-builder.yml
vendored
3
.github/workflows/maven-pr-builder.yml
vendored
@ -49,9 +49,8 @@ jobs:
|
|||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
# Some tests need screen access
|
# Some tests need screen access
|
||||||
- name: Install xvfb
|
- name: Install xvfb
|
||||||
run: sudo apt-get install xvfb
|
run: sudo apt-get install -y xvfb
|
||||||
# SonarQube scan does not work for forked repositories
|
# SonarQube scan does not work for forked repositories
|
||||||
# See https://jira.sonarsource.com/browse/MMF-1371
|
# See https://jira.sonarsource.com/browse/MMF-1371
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
if: github.ref != 'refs/heads/master'
|
|
||||||
run: xvfb-run mvn clean verify
|
run: xvfb-run mvn clean verify
|
||||||
|
Loading…
x
Reference in New Issue
Block a user