Fix syntax

This commit is contained in:
Ilkka Seppälä 2020-07-26 22:47:33 +03:00
parent eee409f284
commit 4b88214bae

View File

@ -49,10 +49,10 @@ jobs:
# 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"
if: github.ref != 'refs/heads/master'
run: xvfb-run mvn clean verify
- name: Build with Maven and run SonarQube analysis
if: "github.ref == refs/heads/master"
if: github.ref == 'refs/heads/master'
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
# These two env variables are needed for sonar analysis