Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ck-versions into debug
  • Loading branch information
thomasleplus committed Oct 28, 2024
2 parents baa79cc + 2a58c59 commit c2885de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions maven-check-versions/maven-check-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ if [ -z "${DEBUG+x}" ]; then
fi

# Honoring GitHub runner debug mode
if [ "${ACTIONS_RUNNER_DEBUG}" = true ]; then
if [ -n "${ACTIONS_RUNNER_DEBUG+x}" ] && [ "${ACTIONS_RUNNER_DEBUG}" = true ]; then
DEBUG=true
elif [ -n "${RUNNER_DEBUG+x}" ] && [ "${RUNNER_DEBUG}" = true ]; then
DEBUG=true
fi

Expand All @@ -29,7 +31,9 @@ if [ "${DEBUG}" = true ]; then
fi

if [ -f mvnw ]; then
\echo 'DEBUG: using existing maven wrapper'
if [ "${DEBUG}" = true ]; then
\echo 'DEBUG: using existing maven wrapper'
fi
cmd='./mvnw'
# Ensure maven wrapper work directory is somewhere we have
# write permissions
Expand Down

0 comments on commit c2885de

Please sign in to comment.