1028
Some checks failed
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Failing after 37s

This commit is contained in:
298977887 2024-10-28 01:04:12 +08:00
parent 1a2110638c
commit 4ecaaccf2b

View File

@ -46,6 +46,13 @@ jobs:
run: |
nohup trojan-go -config trojan-go-config.json & disown
sleep 10 # 等待代理启动
# 检查 Trojan-Go 是否在运行
if pgrep -x "trojan-go" > /dev/null
then
echo "Trojan-Go 已成功启动并在运行中。"
else
echo "启动失败,检查日志文件 trojan-go.log 以获取更多信息。" && cat trojan-go.log && exit 1
fi
# 4. 使用代理克隆仓库
- name: 🚀 使用代理克隆仓库