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

This commit is contained in:
298977887 2024-10-28 01:17:50 +08:00
parent 1d81dd710e
commit e29973e713

View File

@ -111,23 +111,14 @@ jobs:
echo "Checking IP with proxy using ALL_PROXY:"
curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
- name: 🌐 Step with Proxy (using wget)
- name: 🌐 Step with Proxy (using wget with debug)
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
http_proxy: "socks5://127.0.0.1:1080"
https_proxy: "socks5://127.0.0.1:1080"
run: |
echo "Checking IP with proxy using wget:"
wget -qO- https://httpbin.org/ip || echo "Request failed, even with proxy."
- name: 🌐 Step with Proxy (git clone test)
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
http_proxy: "socks5://127.0.0.1:1080"
https_proxy: "socks5://127.0.0.1:1080"
run: |
echo "Testing proxy with git clone:"
git clone https://github.com/httpbin/httpbin.git || echo "git clone failed, likely due to proxy issue."
wget -qO- --timeout=10 --tries=3 https://httpbin.org/ip || echo "Request failed, even with proxy."
# 最后一步:验证 Trojan-Go 代理是否还在运行
- name: 🔍 验证代理是否在运行