ci(forgejo-actions): add feature flag for Sonar
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 1m55s

This commit is contained in:
Jorge Bornhausen 2024-11-15 14:32:01 +01:00
parent 9c3289f1ec
commit e59c3a2ce9
Signed by: jorge.bornhausen
SSH key fingerprint: SHA256:X2ootOwvCeP4FoNfmVUFIKIbhq95tAgnt7Oqg3x+lfs

View file

@ -40,6 +40,7 @@ jobs:
run: ./mvnw verify run: ./mvnw verify
- name: Analyze with Sonar - name: Analyze with Sonar
if: vars.SONAR_ENABLED == 'true'
env: env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}