Skip to content

Commit 2c2eebb

Browse files
committed
chore: Optimize action
1 parent a084fac commit 2c2eebb

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/release_test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,16 @@ jobs:
204204
"title": "${{ matrix.os }}-test-打包完成通知",
205205
"text": "# ${{ matrix.os }}-test-打包完成通知\n ![bang](https://oss.sqlgpt.cn/static/bang100.gif)\n ### 任务id:[${{ github.run_id }}](https://github.com/chat2db/Chat2DB/actions/runs/${{ github.run_id }})\n ### 下载地址:[https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/${{ matrix.os }}-Test${{ matrix.file_extension }}](https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/${{ matrix.os }}-Test${{ matrix.file_extension }})"
206206
}
207+
208+
# 发送Jar包地址到DingTalk
209+
- if: ${{ runner.os == 'macOS' && matrix.arch == 'x86_64' }}
210+
name: Send dingtalk message
211+
uses: ghostoy/dingtalk-action@master
212+
with:
213+
webhook: ${{ secrets.DINGTALK_WEBHOOK }}
214+
msgtype: markdown
215+
content: |
216+
{
217+
"title": "Jar-test-构建完成通知",
218+
"text": "### jar包下载地址:[https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/chat2db-server-start.zip](https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/chat2db-server-start.zip) "
219+
}

0 commit comments

Comments
 (0)