mirror of
https://github.com/ikunshare/Onekey.git
synced 2026-01-12 16:25:53 +08:00
chore: 让我微调一下()
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -74,16 +74,10 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload to Telegram Channel
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
${{ github.actor }} created commit:
|
||||
Commit message: ${{ github.event.commits[0].message }}
|
||||
|
||||
Repository: ${{ github.repository }}
|
||||
|
||||
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
|
||||
document: |
|
||||
build/Onekey---v${{ env.PACKAGE_VERSION }}.exe
|
||||
run: |
|
||||
curl -F chat_id=${{ secrets.TELEGRAM_TO }} \
|
||||
-F document=@build/Onekey---v${{ env.PACKAGE_VERSION }}.exe \
|
||||
-F caption="${{ github.actor }} created commit:\nCommit message: ${{ github.event.commits[0].message }}\n\nRepository: ${{ github.repository }}\n\nSee changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}" \
|
||||
-F parse_mode=Markdown \
|
||||
https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument
|
||||
|
||||
|
||||
Reference in New Issue
Block a user