File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 42
42
dotnet format analyzers --diagnostics IDE0073
43
43
working-directory : ${{ github.workspace }}
44
44
- name : Validate with .NET ${{ vars.DOTNET_SDK_VERSION }}
45
- id : validate
45
+ id : git
46
46
shell : bash
47
47
run : |
48
48
set +e
51
51
set -e
52
52
working-directory : ${{ github.workspace }}
53
53
- name : Push to ${{ github.ref }}
54
- if : ${{ fromJSON(steps.validate .outputs.has-changes) }}
54
+ if : ${{ fromJSON(steps.git .outputs.has-changes) }}
55
55
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 }}
59
56
git add .
60
57
git config user.name "$(git log -n 1 --pretty=format:%an)"
61
58
git config user.email "$(git log -n 1 --pretty=format:%ae)"
You can’t perform that action at this time.
0 commit comments