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

This commit is contained in:
Jorge Bornhausen 2024-11-11 21:30:37 +01:00
parent 111c23eb53
commit 48132e3798
Signed by: jorge.bornhausen
SSH key fingerprint: SHA256:X2ootOwvCeP4FoNfmVUFIKIbhq95tAgnt7Oqg3x+lfs

View file

@ -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'