This commit is contained in:
parent
332631dc92
commit
2dc7dd1704
7
.github/workflows/翻译更新日志.yml
vendored
7
.github/workflows/翻译更新日志.yml
vendored
@ -45,13 +45,10 @@ jobs:
|
||||
echo "启动失败,检查日志文件 /tmp/trojan-go.log 以获取更多信息。" && cat /tmp/trojan-go.log && exit 1
|
||||
fi
|
||||
|
||||
# 安装 Python 依赖,启用 SOCKS 支持
|
||||
# 安装 Python 依赖,使用清华大学镜像源
|
||||
- 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
|
||||
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple requests deep-translator
|
||||
|
||||
# 翻译更新日志
|
||||
- name: 📦 运行翻译更新输出更新日志txt文件
|
||||
|
Loading…
Reference in New Issue
Block a user