@@ -13,16 +13,20 @@ jobs:
1313 include :
1414 - os : windows-latest
1515 file_extension : " .exe"
16+ file_name : " https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/Chat2DB-Test%20Setup%2099.0.${{ github.run_id }}-Test.exe"
1617 build_arg : " --win --x64"
1718 - os : macos-latest
1819 arch : x86_64
20+ file_name : " https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/Chat2DB-Test-99.0.${{ github.run_id }}-Test.dmg"
1921 file_extension : " .dmg"
2022 build_arg : " --mac --x64"
2123 - os : macos-latest
2224 arch : arm64
25+ file_name : " https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/Chat2DB-Test-99.0.${{ github.run_id }}-Test-arm64.dmg"
2326 file_extension : " .dmg"
2427 build_arg : " --mac --arm64"
2528 - os : ubuntu-latest
29+ file_name : " https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/Chat2DB-Test-99.0.${{ github.run_id }}-Test.AppImage"
2630 file_extension : " .AppImage"
2731 build_arg : " --linux"
2832 runs-on : ${{ matrix.os }}
@@ -189,10 +193,12 @@ jobs:
189193 access-key-id : ${{ secrets.OSS_ACCESS_KEY_ID }}
190194 access-key-secret : ${{ secrets.OSS_ACCESS_KEY_SECRET }}
191195 ossutil-version : " 1.7.16"
196+
192197 # 上传到OSS
193198 - name : Upload to OSS
194199 run : |
195200 ossutil cp -rf --acl=public-read ./oss_temp_file/ oss://chat2db-client/test/99.0.${{ github.run_id }}/
201+
196202 # 发送到DingTalk
197203 - name : Send dingtalk message
198204 uses : ghostoy/dingtalk-action@master
@@ -202,9 +208,9 @@ jobs:
202208 content : |
203209 {
204210 "title": "${{ matrix.os }}-test-打包完成通知",
205- "text": "# ${{ matrix.os }}-test-打包完成通知\n \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 }})"
211+ "text": "# ${{ matrix.os }}-test-打包完成通知\n \n ### 任务id:[${{ github.run_id }}](https://github.com/chat2db/Chat2DB/actions/runs/${{ github.run_id }})\n ### 下载地址:[${{matrix.file_name}}]( ${{matrix.file_name }})"
206212 }
207-
213+
208214 # 发送Jar包地址到DingTalk
209215 - if : ${{ runner.os == 'macOS' && matrix.arch == 'x86_64' }}
210216 name : Send dingtalk message
0 commit comments