Skip to content

Commit 12649b0

Browse files
committed
step
1 parent 87fa75d commit 12649b0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/format_check.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ jobs:
4040
matrix: true
4141
- name: List changed files
4242
if: steps.changed-files.outputs.any_changed == 'true'
43-
env:
44-
ALL_CHANGED_FILES: ${{ format('"{0}"', join(fromJson(steps.changed-files.outputs.all_changed_files),'" "')) }}
45-
#ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
4643
run: |
47-
echo "Changed files: $ALL_CHANGED_FILES"
44+
echo "${{ join(fromJson(steps.changed-files.outputs.all_changed_files), '\n')) }}"
4845
- name: Run clang-format check
4946
if: steps.changed-files.outputs.any_changed == 'true'
5047
uses: pillo79/clang-format-action@mod
5148
with:
5249
clang-format-version: '19'
53-
check-files: '${{ steps.changed-files.outputs.all_changed_files }}'
50+
check-files: ${{ join(fromJson(steps.changed-files.outputs.all_changed_files), '\n')) }}

0 commit comments

Comments
 (0)