We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b7232 commit 52d0131Copy full SHA for 52d0131
.github/workflows/format-cs-files.yml
@@ -53,10 +53,12 @@ jobs:
53
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
54
working-directory: ${{ github.workspace }}
55
- name: Validate with .NET ${{ vars.DOTNET_SDK_VERSION }}
56
+ env:
57
+ result: false
58
run: |
- git diff --quiet --exit-code --cached
- echo $?
59
- echo 'has-changes=${{ $? }}' >> $GITHUB_OUTPUT
+ result='git diff --quiet --exit-code --cached'
60
+ echo $result
61
+ echo has-changes=$result >> $GITHUB_OUTPUT
62
echo ${{ steps.validate.output.has-changes }}
63
id: validate
64
continue-on-error: true
0 commit comments