Skip to content

Commit

Permalink
判断修改
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Oct 20, 2023
1 parent 49950b7 commit 775c93c
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 @@ -30,15 +30,15 @@ jobs:
echo IS_DIFF=$(if git status | grep -q "packages/scripts/api.json"; then echo "true"; else echo "false"; fi)
- 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 }}
body: |
`TDesign.db`和`api.json`数据不一致,请执行`npm run api:download`。
- name: Error
if: ${{steps.check_diff.outputs.IS_DIFF=='true'}}
if: steps.check_diff.outputs.IS_DIFF=='true'
run: |
git diff packages/scripts/api.json
exit 1

0 comments on commit 775c93c

Please sign in to comment.