From 9ca57c782b8262ad63a442ffdc5f7dc65b4373ad Mon Sep 17 00:00:00 2001 From: Chase Colman Date: Sat, 24 Feb 2024 10:38:20 +0800 Subject: [PATCH] Fix clang step on Windows runner --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bdd523..92f768f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,8 +142,8 @@ jobs: - name: Windows - Fix Clang toolchain if: ${{ runner.os == 'Windows' }} run: | - Set-Location R:\el - $env:PATH = 'R:\el\src\third_party\depot_tools;' + $env:PATH + cd el + $env:PATH = "$(Get-Location)\src\third_party\depot_tools);" + $env:PATH & cmd /c call src\third_party\depot_tools\cipd_bin_setup.bat & cmd /c call src\third_party\depot_tools\bootstrap\win_tools.bat & cmd /c call src\third_party\depot_tools\vpython3.bat src\tools\clang\scripts\update.py