From 629a69e33bd75b313d36d7e977b43b9bd0b599d5 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 13 Nov 2024 20:32:10 +0800 Subject: [PATCH] fix --- .github/workflows/reusable-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 4b722970c270..d8ef79569c38 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -174,20 +174,20 @@ jobs: - name: Build i686-pc-windows-msvc if: ${{ inputs.target == 'i686-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }} run: | - export all_proxy=$http_proxy - echo "HTTP_PROXY=$HTTP_PROXY" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }} + export all_proxy=$http_proxy # Using all_proxy for updating crates.io index + echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }} - name: Build x86_64-pc-windows-msvc if: ${{ inputs.target == 'x86_64-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }} run: | export all_proxy=$http_proxy - echo "HTTP_PROXY=$HTTP_PROXY" && RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }} + echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }} - name: Build aarch64-pc-windows-msvc if: ${{ inputs.target == 'aarch64-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }} run: | export all_proxy=$http_proxy - echo "HTTP_PROXY=$HTTP_PROXY" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }} + echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }} # Mac - name: Build x86_64-apple-darwin