[llvm] workflow/release-binaries: Hard-code Wix install path (PR #219328)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 16:48:47 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

<details>
<summary>Changes</summary>

Searching for the candle.exe executable is very slow and we know the install path will always be the same since we have version pinned the install.

---
Full diff: https://github.com/llvm/llvm-project/pull/219328.diff


1 Files Affected:

- (modified) .github/workflows/release-binaries.yml (+1-1) 


``````````diff
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index d837461b24643..707a2c8926e2c 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -287,7 +287,7 @@ jobs:
       run: |
         choco install wixtoolset --version 3.14.1.20250415
         # Add wix install directory to PATH.
-        Split-Path (Get-ChildItem -Path "C:\" -Filter candle.exe -Recurse -ErrorAction SilentlyContinue | Select-Object -First 1).FullName >> $env:GITHUB_PATH
+        echo "C:\Program Files (x86)\WiX Toolset v3.14\bin" >> $env:GITHUB_PATH
 
     - name: Build Windows
       id: build-windows

``````````

</details>


https://github.com/llvm/llvm-project/pull/219328


More information about the llvm-commits mailing list