1028.py
Some checks failed
test / job_1 (push) Failing after 14s

This commit is contained in:
298977887 2024-10-28 20:51:59 +08:00
parent eddeadba58
commit 608f7522bb

View File

@ -44,12 +44,13 @@ jobs:
else
echo "启动失败,检查日志文件 /tmp/trojan-go.log 以获取更多信息。" && cat /tmp/trojan-go.log && exit 1
fi
# 安装 Python 依赖
- name: 📥 安装 Python 依赖
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
env:
ALL_PROXY: "socks5://127.0.0.1:1080" # 设置代理环境变量
run: |
pip3 install requests deep-translator
pip3 install requests deep-translator --proxy $ALL_PROXY
# 翻译更新日志
- name: 📦 运行翻译更新输出更新日志txt文件