ci: Install dependency python-telegram-bot (#373)

This commit is contained in:
Howard Wu
2023-04-12 20:37:41 +08:00
committed by GitHub
parent 0bda101d4d
commit fe1c826b1b

View File

@@ -143,7 +143,8 @@ jobs:
echo "[+] Compress images" echo "[+] Compress images"
gzip -n -f -9 "${{ env.file_path }}" gzip -n -f -9 "${{ env.file_path }}"
echo "[+] Image to upload" echo "[+] Image to upload"
find . -type f -name "*.gz" ls -l "${{ env.file_path }}.gz"
if [ -n "${{ secrets.BOT_TOKEN }}" ]; then if [ -n "${{ secrets.BOT_TOKEN }}" ]; then
pip3 install python-telegram-bot
python3 "$GITHUB_WORKSPACE/KernelSU/scripts/ksubot.py" "${{ env.file_path }}.gz" python3 "$GITHUB_WORKSPACE/KernelSU/scripts/ksubot.py" "${{ env.file_path }}.gz"
fi fi