mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 18:15:41 +00:00
Fix syntax
This commit is contained in:
1 parent
eee409f284
commit
4b88214bae
1 file changed
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user