Update maven-build.yml

This commit is contained in:
vicizmax 2024-08-16 14:29:06 +02:00 committed by GitHub
parent cb75879183
commit 3c0a5ff185
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,7 @@ jobs:
java-version: ${{matrix.java}} java-version: ${{matrix.java}}
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
- name: Build with Maven Wrapper - name: Build with Maven Wrapper
run: ./mvnw -B package run: ./mvnw -B package
@ -34,5 +35,5 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # SonarQube authentication token SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # SonarQube authentication token
run: ./mvnw sonar:sonar \ run: ./mvnw sonar:sonar \
-Dsonar.projectKey=maven-java \ -Dsonar.projectKey=maven-java \
-Dsonar.host.url=http://localhost:9000 \ -Dsonar.host.url=https://b9fd04991336.ngrok.app \
-Dsonar.login=${{ secrets.SONAR_TOKEN }} -Dsonar.login=${{ secrets.SONAR_TOKEN }}