Skip to content

Commit 47e42ca

Browse files
author
Petr Sramek
committed
just this should be okay
1 parent b5619bf commit 47e42ca

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,8 @@ jobs:
4141
dotnet format style --verbosity diagnostic
4242
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
4343
working-directory: ${{ github.workspace }}
44-
- name: Validate with .NET ${{ vars.DOTNET_SDK_VERSION }}
45-
id: validate
46-
shell: bash
47-
run: |
48-
set +e
49-
git diff --quiet --exit-code --cached
50-
exitcode="$?"
51-
echo "has-changes=$exitcode" >> $GITHUB_OUTPUT
52-
set -e
53-
working-directory: ${{ github.workspace }}
5444
- name: Push to ${{ github.ref }}
55-
# if: ${{ fromJSON(steps.validate.outputs.has-changes) == 1 }}
5645
run: |
57-
echo ${{ steps.validate.outputs.has-changes }}
58-
echo ${{ steps.validate.outputs.has-changes == '1' }}
59-
echo ${{ fromJSON(steps.validate.outputs.has-changes) }}
60-
echo ${{ fromJSON(steps.validate.outputs.has-changes) == 1 }}
61-
echo ${{ fromJSON(steps.validate.outputs.has-changes) == '1' }}
6246
git add .
6347
git config user.name "$(git log -n 1 --pretty=format:%an)"
6448
git config user.email "$(git log -n 1 --pretty=format:%ae)"

0 commit comments

Comments
 (0)