Skip to content

Commit b798681

Browse files
author
Petr Sramek
committed
tets
1 parent 52d0131 commit b798681

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/format-cs-files.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ jobs:
5656
env:
5757
result: false
5858
run: |
59-
result='git diff --quiet --exit-code --cached'
60-
echo $result
61-
echo has-changes=$result >> $GITHUB_OUTPUT
59+
git diff --quiet --exit-code --cached
60+
echo "has-changes=$?" >> $GITHUB_OUTPUT
6261
echo ${{ steps.validate.output.has-changes }}
6362
id: validate
6463
continue-on-error: true

0 commit comments

Comments
 (0)