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

This commit is contained in:
298977887 2024-10-28 01:29:31 +08:00
parent 20cf82698d
commit bff0579b17

View File

@ -19,7 +19,8 @@ jobs:
- name: 📦 解压并安装 Trojan-Go - name: 📦 解压并安装 Trojan-Go
run: | run: |
# 下载 Trojan-Go 二进制文件 # 下载 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 unzip trojan-go.zip -d trojan-go
sudo mv trojan-go/trojan-go /usr/local/bin/trojan-go sudo mv trojan-go/trojan-go /usr/local/bin/trojan-go
rm -rf trojan-go.zip 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." curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
- name: 🌐 Step with Proxy (using curl with debug) - name: 🌐 Step with Proxy (using curl with debug)
#env: env:
# ALL_PROXY: "socks5://127.0.0.1:1080" ALL_PROXY: "socks5://127.0.0.1:1080"
run: | run: |
echo "Checking IP with proxy using curl:" echo "Checking IP with proxy using curl:"
curl -s --max-time 10 https://httpbin.org/ip || echo "Request failed, even with proxy." curl -s --max-time 10 https://httpbin.org/ip || echo "Request failed, even with proxy."