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

This commit is contained in:
298977887 2024-10-28 20:53:21 +08:00
parent 608f7522bb
commit 332631dc92

View File

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