From 1a208348cba21efdf125f6d04683fce5f55125e6 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 13 Nov 2024 20:32:10 +0800 Subject: [PATCH] fix --- .github/workflows/ci.yml | 9 +++++++++ .github/workflows/reusable-build.yml | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 457caa136e5..4cae699e297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 4b722970c27..d8ef79569c3 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