1028
All checks were successful
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Successful in 44s

This commit is contained in:
298977887 2024-10-28 00:45:10 +08:00
parent 08f0e80f92
commit dae31e5a7d

View File

@ -33,10 +33,10 @@ jobs:
TROJAN_GO_CONFIG: ${{ secrets.TROJAN_GO_CONFIG }}
# 3. 启动 Trojan-Go 并检测代理是否可用
#- name: 🔍 测试代理的连通性
# run: |
# nohup trojan-go -config trojan-go-config.json &
# sleep 5 # 等待代理启动
- name: 🔍 测试代理的连通性
run: |
nohup trojan-go -config trojan-go-config.json &
sleep 10 # 等待代理启动
# sudo apt-get update && sudo apt-get install -y lsof
# # 检查代理是否在监听
# lsof -i :1080 || echo "Trojan-Go did not start on port 1080"