ci(forgejo-actions): analyze only on main due to community edition
Some checks failed
Build, test and publish the Quarkus libraries / build (push) Has been cancelled
Some checks failed
Build, test and publish the Quarkus libraries / build (push) Has been cancelled
This commit is contained in:
parent
111c23eb53
commit
48132e3798
1 changed files with 5 additions and 1 deletions
|
@ -37,10 +37,14 @@ jobs:
|
|||
run: chmod +x mvnw
|
||||
|
||||
- name: Build and run tests
|
||||
run: ./mvnw verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../**/target/jacoco-report/jacoco.xml
|
||||
run: ./mvnw verify
|
||||
|
||||
- name: Analyze with Sonar
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
run: ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../**/target/jacoco-report/jacoco.xml
|
||||
|
||||
- name: Upload libs to Gitea Maven Registry
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue