diff --git a/.github/workflows/SonarCloud.yml b/.github/workflows/SonarCloud.yml index 66b2d8d..6c279a5 100644 --- a/.github/workflows/SonarCloud.yml +++ b/.github/workflows/SonarCloud.yml @@ -34,6 +34,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - signingKey: ${{secrets.MAVEN_GPG_PRIVATE_KEY}} - signingPassword: ${{secrets.MAVEN_GPG_PASSPHRASE}} + gpg.username: ${{ secrets.OSSRH_USERNAME }} + gpg.password: ${{ secrets.OSSRH_TOKEN }} + gpg.privateKey: ${{secrets.MAVEN_GPG_PRIVATE_KEY}} + gpg.passphrase: ${{secrets.MAVEN_GPG_PASSPHRASE}} run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=JonasSchaub_SugarRemoval \ No newline at end of file