Skip to content

Commit 22b3dd1

Browse files
committed
test
1 parent 0de4335 commit 22b3dd1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@ jobs:
2727
id: lint_result_check
2828
run: |
2929
if [ $? -ne 0 ]; then
30-
echo "Linting failed, setting output..."
31-
echo "::set-output name=lint_failed::true"
30+
echo "lint_failed=true" >> $GITHUB_ENV
3231
else
33-
echo "::set-output name=lint_failed::false"
32+
echo "lint_failed=false" >> $GITHUB_ENV
3433
fi
3534
3635
- name: Auto-format and commit changes if needed
37-
if: ${{ steps.lint_result_check.outputs.lint_failed == 'true' }}
36+
if: ${{ env.lint_failed == 'true' }}
3837
run: |
3938
yarn nx format:write --all
4039
git config --global user.name "GitHub Actions"

0 commit comments

Comments
 (0)