ci: 移除所有的代理相关
Release / Prepare release (push) Successful in 5s
Release / Build release assets (push) Successful in 19m9s

This commit is contained in:
chuan
2026-05-28 00:51:24 +08:00
Unverified
parent 76a247faaf
commit a9543cd36f
+1 -28
View File
@@ -15,32 +15,14 @@ on:
env:
GITEA_SERVER_URL: https://git.pchuan.top
RUST_IMAGE: docker.m.daocloud.io/library/rust:1-bookworm
CARGO_REGISTRY: sparse+https://rsproxy.cn/index/
APT_MIRROR: https://mirrors.ustc.edu.cn/debian
CARGO_TERM_COLOR: always
HTTP_PROXY: http://172.17.0.1:1082
HTTPS_PROXY: http://172.17.0.1:1082
ALL_PROXY: http://172.17.0.1:1082
NO_PROXY: localhost,127.0.0.1,::1,172.17.0.1,git.pchuan.top,.pchuan.top
http_proxy: http://172.17.0.1:1082
https_proxy: http://172.17.0.1:1082
all_proxy: http://172.17.0.1:1082
no_proxy: localhost,127.0.0.1,::1,172.17.0.1,git.pchuan.top,.pchuan.top
jobs:
prepare-release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Configure network proxy
shell: bash
run: |
set -euo pipefail
git config --global http.proxy "${HTTPS_PROXY}"
git config --global https.proxy "${HTTPS_PROXY}"
git config --global http.noProxy "${NO_PROXY}"
- name: Checkout
uses: actions/checkout@v4
with:
@@ -119,15 +101,6 @@ jobs:
runs-on: ubuntu-latest
needs: prepare-release
steps:
- name: Configure network proxy
shell: bash
run: |
set -euo pipefail
git config --global http.proxy "${HTTPS_PROXY}"
git config --global https.proxy "${HTTPS_PROXY}"
git config --global http.noProxy "${NO_PROXY}"
- name: Checkout
uses: actions/checkout@v4
with:
@@ -148,7 +121,7 @@ jobs:
- name: Build release assets
shell: bash
run: bash scripts/publish.sh --version "${VERSION}" --rust-image "${RUST_IMAGE}" --cargo-registry "${CARGO_REGISTRY}" --apt-mirror "${APT_MIRROR}" --clean
run: bash scripts/publish.sh --version "${VERSION}" --rust-image "${RUST_IMAGE}" --apt-mirror "${APT_MIRROR}" --clean
- name: Upload release assets
shell: bash