Skip to content

Commit 6af5f4d

Browse files
committed
test
1 parent 22b3dd1 commit 6af5f4d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ jobs:
2828
run: |
2929
if [ $? -ne 0 ]; then
3030
echo "lint_failed=true" >> $GITHUB_ENV
31+
echo "::set-output name=lint_failed::true"
3132
else
3233
echo "lint_failed=false" >> $GITHUB_ENV
34+
echo "::set-output name=lint_failed::false"
3335
fi
36+
outputs:
37+
lint_failed: ${{ steps.lint_result_check.outputs.lint_failed }}
3438

3539
- name: Auto-format and commit changes if needed
36-
if: ${{ env.lint_failed == 'true' }}
40+
if: ${{ steps.lint_result_check.outputs.lint_failed == 'true' }}
3741
run: |
3842
yarn nx format:write --all
3943
git config --global user.name "GitHub Actions"

0 commit comments

Comments
 (0)