Skip to content

Commit eb230b0

Browse files
author
Petr Sramek
committed
updates
1 parent ded20c0 commit eb230b0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
dotnet format analyzers --diagnostics IDE0073
4343
working-directory: ${{ github.workspace }}
4444
- name: Validate with .NET ${{ vars.DOTNET_SDK_VERSION }}
45-
id: validate
45+
id: git
4646
shell: bash
4747
run: |
4848
set +e
@@ -51,11 +51,8 @@ jobs:
5151
set -e
5252
working-directory: ${{ github.workspace }}
5353
- name: Push to ${{ github.ref }}
54-
if: ${{ fromJSON(steps.validate.outputs.has-changes) }}
54+
if: ${{ fromJSON(steps.git.outputs.has-changes) }}
5555
run: |
56-
echo ${{ steps.validate.outputs.has-changes }}
57-
echo ${{ fromJSON(steps.validate.outputs.has-changes) }}
58-
echo ${{ fromJSON(steps.validate.outputs.has-changes) == 1 }}
5956
git add .
6057
git config user.name "$(git log -n 1 --pretty=format:%an)"
6158
git config user.email "$(git log -n 1 --pretty=format:%ae)"

0 commit comments

Comments
 (0)