Skip to content

Commit a2c19f1

Browse files
authored
Extract Sonar to its own task (#266)
1 parent a7ae078 commit a2c19f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/gradle-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ jobs:
7979
- name: Run CI build
8080
env:
8181
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
run: ./gradlew build jacocoTestReport --configuration-cache
83+
- name: Publish Sonar report
84+
env:
8285
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
83-
run: ./gradlew build jacocoTestReport sonar --configuration-cache
86+
run: ./gradlew sonar
8487
- name: Terminate Testcontainers Cloud Client active sessions
8588
uses: atomicjar/testcontainers-cloud-setup-action@v1
8689
with:

0 commit comments

Comments
 (0)