Browse Source

更新action

liuyuqi-dellpc 1 year ago
parent
commit
52a4b6e44a
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .github/workflows/build.yml

+ 4 - 3
.github/workflows/build.yml

@@ -23,7 +23,8 @@ jobs:
         run: |
           echo "::set-output name=hash::$(git rev-parse --short HEAD)"
           echo "::set-output name=date::$(date +%Y%m%d)"
-
+          echo "::set-output name=url::$(git remote get-url origin)"
+          
       - name: Set Up Python
         uses: actions/setup-python@v4
         with:
@@ -58,6 +59,6 @@ jobs:
           DINGTALK_ACCESS_TOKEN: ${{ secrets.DINGTALK_ACCESS_TOKEN }}
         with:
           msgtype: link
-          title: 'build success'
-          text: 'repo_sync has been build success, please download from aliyun oss. [git.yoqi.me]'
+          title: 'repo_sync build success'
+          text: 'please download from aliyun oss. [git.yoqi.me]'
           msg_url: '${{ steps.get_version.outputs.url }}'