Skip to content

Commit 2bedd09

Browse files
committed
output Debug changed files
1 parent c92bdeb commit 2bedd09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,7 @@ runs:
193193
CHANGED_FILES=$(git diff-tree --no-commit-id --name-only -r HEAD | tr '\n' ',' | sed 's/,$//')
194194
echo "branch-name=${{ env.BRANCH_NAME }}" >> $GITHUB_OUTPUT
195195
echo "changed-files=${CHANGED_FILES}" >> $GITHUB_OUTPUT
196+
if [ "${{ inputs.debug }}" = "true" ]; then
197+
echo "changed-files=${CHANGED_FILES}"
198+
fi
196199
shell: bash

0 commit comments

Comments
 (0)