Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit e2d81de

Browse files
committed
Enable debug logging
1 parent 0857ffa commit e2d81de

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ runs:
4040
- shell: bash
4141
if: ${{ !env.ACT }}
4242
run: |
43+
if [ -n "$RUNNER_DEBUG" ] || [ -n "$ACTIONS_STEP_DEBUG" ]; then
44+
echo "Enable debug logging"
45+
set -x
46+
fi
47+
4348
echo $GITHUB_ACTION_PATH
4449
source $GITHUB_ACTION_PATH/try.sh
4550

0 commit comments

Comments
 (0)