Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling committed Aug 28, 2023
1 parent 36ef99f commit d9ee5bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
echo "Next version: ${{ needs.build.outputs.next-version }}"
- name: Analyze code 🔎️
run: ./gradlew test jacocoTestReport sonarqube --info -Dsonar.projectVersion=${{ needs.build.outputs.next-version }}-SNAPSHOT
run: ./gradlew test jacocoTestReport sonar --info -Dsonar.projectVersion=${{ needs.build.outputs.next-version }}-SNAPSHOT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Build and test 🏗
run: ./gradlew test jacocoTestReport sonarqube
run: ./gradlew test jacocoTestReport sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jacoco {
jacocoTestReport {
reports {
xml.required = true
xml.outputLocation = file("${buildDir}/reports/jacoco/report.xml")
}
}

Expand Down Expand Up @@ -110,7 +109,7 @@ signing {
sign publishing.publications.mavenJava
}

sonarqube {
sonar {
properties {
property "sonar.projectKey", "w3stling_rssreader"
property "sonar.organization", "w3stling"
Expand Down

0 comments on commit d9ee5bf

Please sign in to comment.