Skip to content

Commit

Permalink
Use Gradle wrapper to run Sonar CI step (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjameshamilton authored Mar 3, 2023
1 parent 1b3e850 commit 16a0462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
with:
java-version: 11
- name: Assemble
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v2
with:
arguments: assemble
- name: Build
uses: eskatos/gradle-command-action@v1
uses: gradle/gradle-build-action@v2
with:
arguments: build testAllJavaVersions jacocoTestReport
- name: Sonar
run: gradle -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.organization=guardsquare -Dsonar.projectKey=Guardsquare_proguard-core sonarqube --info
run: ./gradlew -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.organization=guardsquare -Dsonar.projectKey=Guardsquare_proguard-core sonarqube --info
env:
GITHUB_TOKEN: ${{ secrets.PROGUARD_GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.PROGUARD_SONAR_TOKEN }}

0 comments on commit 16a0462

Please sign in to comment.