Skip to content

Commit

Permalink
enable debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
je-ik committed Sep 30, 2024
1 parent 1f54869 commit 3a608ad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/gradle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ fi

./gradlew publishToMavenLocal -Pvendor -PnoSigning

GRADLE_BUILD_ARGS=""
if [[ ! -z $RUNNER_DEBUG ]]; then
GRADLE_BUILD_ARGS="--debug"
fi

if [[ "${IS_PR}" != "false" ]] || [[ "${BRANCH}" == "master" ]]; then
./gradlew spotlessCheck \
&& ./gradlew build -x test \
&& ./gradlew test -Pwith-coverage \
&& ./gradlew build -x test ${GRADLE_BUILD_ARGS} \
&& ./gradlew test -Pwith-coverage ${GRADLE_BUILD_ARGS} \
&& JAVA_HOME=${JAVA_HOME_17_X64} ./gradlew sonar --no-parallel
exit $?
fi
Expand Down

0 comments on commit 3a608ad

Please sign in to comment.