From a9543cd36f61db72db5367908c74e9a49eae6f39 Mon Sep 17 00:00:00 2001 From: chuan Date: Thu, 28 May 2026 00:51:24 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=90=86=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2f5b4c..f652c90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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