Skip to content

Commit

Permalink
输出 IS_DIFF
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Oct 20, 2023
1 parent 775c93c commit e2b25cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Check Diff
id: check_diff
run: |
echo IS_DIFF=$(if git status | grep -q "packages/scripts/api.json"; then echo "true"; else echo "false"; fi)
echo "IS_DIFF=$(if git status | grep -q "packages/scripts/api.json"; then echo "true"; else echo "false"; fi)" >> $GITHUB_OUTPUT
- name: Comment
if: steps.check_diff.outputs.IS_DIFF=='true'
if: steps.check_diff.outputs.IS_DIFF=='true'
uses: actions-cool/maintain-one-comment@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e2b25cf

Please sign in to comment.