Skip to content

Commit 5610e15

Browse files
committed
Replace set_uotput method
Signed-off-by: Xiaodong Li <xiaodong.li@intel.com>
1 parent 74c2fbc commit 5610e15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

devops/actions/clang-format-SYCLomatic/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ runs:
3434
echo "Changed files:"
3535
echo "$CHANGED_FILES"
3636
37-
# Set the output for the next steps
38-
echo "all_changed_files=$CHANGED_FILES" >> $GITHUB_ENV
37+
CHANGED_FILES_JOINED=$(echo "$CHANGED_FILES" | tr '\n' ' ')
38+
39+
# Set the output for the next steps using environment files
40+
echo "all_changed_files=$CHANGED_FILES_JOINED" >> $GITHUB_ENV
3941
4042
- name: List Files
4143
shell: bash

0 commit comments

Comments
 (0)