Skip to content

Commit

Permalink
CI(clang-format): Use "\n" as separator for file list
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Mar 6, 2024
1 parent 5ec84d7 commit b2d7e22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
- name: Verify Changed files
uses: tj-actions/verify-changed-files@d774a4c7ebe335445d79c7b44138f56a76058ba0 # v19.0.0
id: verify-changed-files
with:
separator: "\n"
- run: echo '${{toJson(steps.verify-changed-files.outputs)}}'
- name: List all changed files tracked and untracked files
run: |
Expand Down Expand Up @@ -68,7 +70,6 @@ jobs:
${{ steps.verify-changed-files.outputs.changed_files }}
- name: Make job fail if changed files
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' }}
run:
echo '' >> "$GITHUB_STEP_SUMMARY"
run: echo '' >> "$GITHUB_STEP_SUMMARY"
echo 'More formatting errors on other files might need to be fixed manually' >> "$GITHUB_STEP_SUMMARY"
exit 1

0 comments on commit b2d7e22

Please sign in to comment.