Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Nov 14, 2024
1 parent 46fccdd commit 1a20834
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
name: Get Runner Labels
uses: ./.github/workflows/get-runner-labels.yml

sleep:
name: Sleep
needs: [get-runner-labels]
runs-on: ${{ fromJSON(needs.get-runner-labels.outputs.WINDOWS_RUNNER_LABELS) }}
steps:
- name: Sleep
shell: bash
run: sleep 10000000000

check-changed:
runs-on: ubuntu-latest
name: Check Source Changed
Expand Down
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 1a20834

Please sign in to comment.