File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 41
41
dotnet format style --verbosity diagnostic
42
42
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
43
43
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 }}
54
44
- name : Push to ${{ github.ref }}
55
- # if: ${{ fromJSON(steps.validate.outputs.has-changes) == 1 }}
56
45
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' }}
62
46
git add .
63
47
git config user.name "$(git log -n 1 --pretty=format:%an)"
64
48
git config user.email "$(git log -n 1 --pretty=format:%ae)"
You can’t perform that action at this time.
0 commit comments