File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 2626 name : Check for file changes
2727 runs-on : ubuntu-latest
2828 outputs :
29- java-changes : ${{ steps.filter.outputs.java }}
3029 build-changes : ${{ steps.filter.outputs.build }}
3130 steps :
3231 - uses : actions/checkout@v4
3635 id : filter
3736 with :
3837 filters : |
39- java:
40- - '**/*.java'
4138 build:
4239 - 'gradle/wrapper/**'
4340 - '**/*.gradle.kts'
4643 gradle-build :
4744 name : Build project with Gradle
4845 needs : check-changes
49- if : ${{ needs.check-changes.outputs.java-changes == 'true' || needs.check-changes.outputs. build-changes == 'true' }}
46+ if : ${{ needs.check-changes.outputs.build-changes == 'true' }}
5047 runs-on : ubuntu-latest
5148 steps :
5249 - uses : actions/checkout@v4
@@ -74,13 +71,10 @@ jobs:
7471 with :
7572 token : ${{ secrets.TC_CLOUD_TOKEN }}
7673 - name : Run CI build
77- run : ./gradlew build
78- - name : Publish test coverage
79- if : ${{ needs.check-changes.outputs.java-changes == 'true' }}
8074 env :
8175 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
83- run : ./gradlew jacocoTestReport sonar
76+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
77+ run : ./gradlew build jacocoTestReport sonar
8478 - name : Terminate Testcontainers Cloud Client active sessions
8579 uses : atomicjar/testcontainers-cloud-setup-action@v1
8680 with :
You can’t perform that action at this time.
0 commit comments