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