diff --git a/.ci/scripts/wheel/vc_env_helper.bat b/.ci/scripts/wheel/vc_env_helper.bat index d7fa2c1a596..94bba35d743 100644 --- a/.ci/scripts/wheel/vc_env_helper.bat +++ b/.ci/scripts/wheel/vc_env_helper.bat @@ -58,4 +58,8 @@ if exist setup.py ( cd executorch ) +REM Override pip's default tempdir to reduce path length. +set TEMP=C:\temp +set TMPDIR=C:\temp + %args% || exit /b 1 diff --git a/.github/workflows/build-wheels-windows.yml b/.github/workflows/build-wheels-windows.yml index 9bf9b71f693..742de0c090d 100644 --- a/.github/workflows/build-wheels-windows.yml +++ b/.github/workflows/build-wheels-windows.yml @@ -2,6 +2,8 @@ name: Build Windows Wheels on: pull_request: + tags: + - ciflow/binaries/* push: branches: - nightly @@ -11,6 +13,7 @@ on: # NOTE: Binary build pipelines should only get triggered on release candidate builds # Release candidate tags look like: v1.11.0-rc1 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ + - ciflow/binaries/* workflow_dispatch: permissions: