1027
Some checks failed
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Failing after 6m37s
Some checks failed
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Failing after 6m37s
This commit is contained in:
parent
bcab08ef32
commit
3b1e1b5029
6
.github/workflows/BBB.yml
vendored
6
.github/workflows/BBB.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
# 使用 curl 检查 IP 地址, 如果请求失败则输出提示信息,提示可能是因为没有代理
|
||||
curl -s https://httpbin.org/ip || echo "Request failed, likely due to no proxy."
|
||||
|
||||
# 2. 使用代理的步骤
|
||||
# 2. 使用代理的步骤
|
||||
- name: 🌐 Step with Proxy
|
||||
env:
|
||||
ALL_PROXY: "socks5://127.0.0.1:1080"
|
||||
@ -66,5 +66,5 @@ jobs:
|
||||
https_proxy: "socks5://127.0.0.1:1080"
|
||||
run: |
|
||||
echo "Checking IP with proxy:"
|
||||
# 使用 curl 检查 IP 地址, 如果请求失败则输出提示信息,提示可能是因为代理配置有误
|
||||
curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
|
||||
# 使用 --socks5 明确指定代理模式
|
||||
curl --socks5 127.0.0.1:1080 -s https://httpbin.org/ip || echo "Request failed, even with proxy."
|
||||
|
Loading…
Reference in New Issue
Block a user