diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 336c103d65ae657558323dee47a83761e0edc057..d18cad2803f70d939b1cee9981659833ac5f071e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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