Skip to content

Commit 2b52c86

Browse files
authored
Yet another clang-format workflow fix (#598)
* Third time's the charm? Or fourth... I've lost track * Maybe now I've reached the center of the tootsie pop * Call the right formatting script
1 parent 05d8e1b commit 2b52c86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/format.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@ jobs:
6060
run: |
6161
REM 'run-clang-format' script needs 'VCINSTALLDIR' env (among maybe others) to be set
6262
call ./scripts/call-vcvars.cmd x64
63-
call ./scripts/run-clang-format.cmd origin/master
63+
call ./scripts/format-changes.cmd origin/master
6464
6565
- name: Check for changes
6666
id: check-changes
6767
shell: cmd
6868
run: |
6969
git diff --quiet && echo has-changes=false>> %GITHUB_OUTPUT% || echo has-changes=true>> %GITHUB_OUTPUT%
70+
REM Don't let the exit code of 'git diff' cause this step to fail
71+
exit /b 0
7072
7173
- name: Create patch
7274
if: steps.check-changes.outputs.has-changes == 'true'

0 commit comments

Comments
 (0)