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

This commit is contained in:
298977887 2024-10-27 20:59:10 +08:00
parent 61cf71b177
commit bcab08ef32

View File

@ -35,8 +35,9 @@ jobs:
run: |
nohup trojan-go -config trojan-go-config.json &
sleep 5 # 等待代理启动
echo "检查代理端口是否在监听:"
netstat -an | grep ":1080" || echo "Trojan-Go did not start on port 1080"
sudo apt-get update && sudo apt-get install -y lsof
# 检查代理是否在监听
lsof -i :1080 || echo "Trojan-Go did not start on port 1080"
# 4. 使用代理克隆仓库
- name: 🚀 使用代理克隆仓库