Skip to content

Commit 5ce48bd

Browse files
committed
ci: add conditional check and verbose logging for coveralls step
- Only run coverallsJacoco if COVERALLS_REPO_TOKEN is set - Add --info flag for detailed logging to diagnose issues Assisted-By: Claude Code
1 parent b619680 commit 5ce48bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/java-ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ jobs:
465465
if-no-files-found: ignore
466466

467467
- name: Push coverage to Coveralls
468+
if: ${{ secrets.COVERALLS_REPO_TOKEN != '' }}
468469
env:
469470
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
470-
run: ./gradlew coverallsJacoco
471+
run: ./gradlew coverallsJacoco --info

0 commit comments

Comments
 (0)