提交 4b88214b 编写于 作者: I Ilkka Seppälä

Fix syntax

上级 eee409f2
...@@ -49,10 +49,10 @@ jobs: ...@@ -49,10 +49,10 @@ jobs:
# 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’" if: github.ref != 'refs/heads/master'
run: xvfb-run mvn clean verify run: xvfb-run mvn clean verify
- name: Build with Maven and run SonarQube analysis - 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 run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env: env:
# These two env variables are needed for sonar analysis # These two env variables are needed for sonar analysis
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册