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 22b3dd1 commit 6af5f4dCopy full SHA for 6af5f4d
.github/workflows/lint.yml
@@ -28,12 +28,16 @@ jobs:
28
run: |
29
if [ $? -ne 0 ]; then
30
echo "lint_failed=true" >> $GITHUB_ENV
31
+ echo "::set-output name=lint_failed::true"
32
else
33
echo "lint_failed=false" >> $GITHUB_ENV
34
+ echo "::set-output name=lint_failed::false"
35
fi
36
+ outputs:
37
+ lint_failed: ${{ steps.lint_result_check.outputs.lint_failed }}
38
39
- name: Auto-format and commit changes if needed
- if: ${{ env.lint_failed == 'true' }}
40
+ if: ${{ steps.lint_result_check.outputs.lint_failed == 'true' }}
41
42
yarn nx format:write --all
43
git config --global user.name "GitHub Actions"
0 commit comments