fix-ci-no-proxy
Some checks failed
CI / build-and-test (push) Failing after 1m43s
CI / deploy (push) Has been skipped

This commit is contained in:
SpecialX
2026-02-25 17:00:15 +08:00
parent 439cd8270a
commit 46aa1f5c1e

View File

@@ -26,6 +26,10 @@ jobs:
https_proxy: "http://127.0.0.1:7890" https_proxy: "http://127.0.0.1:7890"
HTTP_PROXY: "http://127.0.0.1:7890" HTTP_PROXY: "http://127.0.0.1:7890"
HTTPS_PROXY: "http://127.0.0.1:7890" HTTPS_PROXY: "http://127.0.0.1:7890"
# 【关键修正】添加 NO_PROXY让内网 IP 不走代理
NO_PROXY: "localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,gittea.eazygame.cn,.eazygame.cn"
no_proxy: "localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,gittea.eazygame.cn,.eazygame.cn"
steps: steps:
- name: Checkout - name: Checkout