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

This commit is contained in:
298977887 2024-10-28 00:59:20 +08:00
parent 158c0d5176
commit 18fa9b758d

View File

@ -100,3 +100,14 @@ jobs:
echo "Testing proxy with git clone:"
git clone https://github.com/httpbin/httpbin.git || echo "git clone failed, likely due to proxy issue."
# 最后一步:验证 Trojan-Go 代理是否还在运行
- name: 🔍 验证代理是否在运行
run: |
echo "Checking if Trojan-Go proxy is still running..."
if pgrep -x "trojan-go" > /dev/null
then
echo "Trojan-Go is still running."
else
echo "Trojan-Go is not running."
exit 1 # 退出并标记步骤失败,表明代理已停止
fi