From 65237b686f866e584c1d9941c0f21557f6ace45d Mon Sep 17 00:00:00 2001 From: LiuYi0526 <50787709+LiuYi0526@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:30:54 +0800 Subject: [PATCH] ci: Update "debug.yml" 'Send to Telegram' --- .github/workflows/debug.yml | 45 ++++++++++++++----------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index db94dfa667..5a9db80c6c 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -401,6 +401,9 @@ jobs: with: name: telegram-bot-api-binary path: . + - name: setup python telebot + run: | + pip install telebot - name: Send to Telegram run: | chmod +x telegram-bot-api-binary @@ -421,35 +424,21 @@ jobs: export full64nogcm=$(find artifacts -name "*full-arm64-v8aNoGcm-unsigned.apk") export full32nogcm=$(find artifacts -name "*full-armeabi-v7aNoGcm-unsigned.apk") - echo $mini64 - echo $mini32 - echo $full64 - echo $full32 - echo $mini64nogcm - echo $mini32nogcm - echo $full64nogcm - echo $full32nogcm + touch ./Send_to_Telegram.py + sudo cat >./Send_to_Telegram.py </dev/null - pkill telegram-bot telegram-bot-api: name: Telegram Bot API