Skip to content

Commit

Permalink
fix: set all proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Nov 13, 2024
1 parent b7ac664 commit dbc5d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
overwrite: true

- name: Upload artifact
uses: lynx-infra/cache
uses: lynx-infra/cache@main
if: ${{ inputs.type == 'lynx' }}
with:
name: ${{ inputs.name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ jobs:

- name: Build i686-pc-windows-msvc
if: ${{ inputs.target == 'i686-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }}
run: RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}
run: ALL_PROXY=$HTTP_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: RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }}
run: ALL_PROXY=$HTTP_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: RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}
run: ALL_PROXY=$HTTP_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 dbc5d81

Please sign in to comment.