Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Nov 13, 2024
1 parent 46fccdd commit 629a69e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 629a69e

Please sign in to comment.