1028
All checks were successful
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Successful in 33s
All checks were successful
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Successful in 33s
This commit is contained in:
parent
20cf82698d
commit
bff0579b17
7
.github/workflows/BBB.yml
vendored
7
.github/workflows/BBB.yml
vendored
@ -19,7 +19,8 @@ jobs:
|
||||
- name: 📦 解压并安装 Trojan-Go
|
||||
run: |
|
||||
# 下载 Trojan-Go 二进制文件
|
||||
wget -O trojan-go.zip https://git.aoun.ltd/18152827937/Trojan-GO/src/commit/ea063e62859270d123379dc69db57f29db2b192f/trojan-go-linux-amd64.zip
|
||||
#wget -O trojan-go.zip https://git.aoun.ltd/18152827937/gitea-action-test/raw/commit/3b1e1b5029bf493a237d466397345e0e54cacd6b/trojan-go-linux-amd64.zip
|
||||
wget -O trojan-go.zip https://git.aoun.ltd/18152827937/Trojan-GO/raw/commit/ea063e62859270d123379dc69db57f29db2b192f/trojan-go-linux-amd64.zip
|
||||
unzip trojan-go.zip -d trojan-go
|
||||
sudo mv trojan-go/trojan-go /usr/local/bin/trojan-go
|
||||
rm -rf trojan-go.zip trojan-go
|
||||
@ -105,8 +106,8 @@ jobs:
|
||||
curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
|
||||
|
||||
- name: 🌐 Step with Proxy (using curl with debug)
|
||||
#env:
|
||||
# ALL_PROXY: "socks5://127.0.0.1:1080"
|
||||
env:
|
||||
ALL_PROXY: "socks5://127.0.0.1:1080"
|
||||
run: |
|
||||
echo "Checking IP with proxy using curl:"
|
||||
curl -s --max-time 10 https://httpbin.org/ip || echo "Request failed, even with proxy."
|
||||
|
Loading…
Reference in New Issue
Block a user