Skip to content

Commit

Permalink
show debug logs if debug mode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Aug 29, 2022
1 parent 0f01f5f commit ebd5ca3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

if [ "${RUNNER_DEBUG}" = "1" ] ; then
set -x
fi

if [ -n "${GITHUB_WORKSPACE}" ] ; then
cd "${GITHUB_WORKSPACE}" || exit
git config --global --add safe.directory "${GITHUB_WORKSPACE}" || exit 1
Expand Down

0 comments on commit ebd5ca3

Please sign in to comment.