mirror of
https://github.com/ikunshare/Onekey.git
synced 2026-01-12 16:25:53 +08:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -72,9 +72,8 @@ jobs:
|
||||
|
||||
- name: Upload to Telegram Channel
|
||||
run: |
|
||||
curl -F "chat_id=${{ secrets.TELEGRAM_TO }}" \
|
||||
-F "document=@build/Onekey---v${{ env.PACKAGE_VERSION }}.exe" \
|
||||
-F "caption=Onekey's New Update ${{ env.PACKAGE_VERSION }}" \
|
||||
-F "parse_mode=Markdown" \
|
||||
& curl -F "chat_id=${{ secrets.TELEGRAM_TO }}" `
|
||||
-F "document=@build/Onekey---v${{ env.PACKAGE_VERSION }}.exe" `
|
||||
-F "caption=Onekey's New Update ${{ env.PACKAGE_VERSION }}" `
|
||||
-F "parse_mode=Markdown" `
|
||||
"https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user