diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f5c6473..1506189 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,7 +33,10 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} restore-keys: ${{ runner.os }}-gradle - name: Coverage - run: ./gradlew test jacocoTestReport sonarqube + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + run: ./gradlew test jacocoTestReport sonar - name: Build and analyze env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}