Skip to content

Commit 20e36d5

Browse files
committed
fix(workflow): escape backslashes in OneAPI setvars.bat path for windows-sycl
1 parent b85a39f commit 20e36d5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ jobs:
346346
run: |
347347
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
348348
if "${{ matrix.name }}" == "windows-sycl" (
349-
if exist "%ONEAPI_ROOT%\setvars.bat" (
350-
call "%ONEAPI_ROOT%\setvars.bat"
349+
if exist "%ONEAPI_ROOT%\\setvars.bat" (
350+
call "%ONEAPI_ROOT%\\setvars.bat"
351351
) else (
352-
echo OneAPI setvars.bat not found at %ONEAPI_ROOT%\setvars.bat
352+
echo OneAPI setvars.bat not found at "%ONEAPI_ROOT%\\setvars.bat"
353353
dir "%ONEAPI_ROOT%"
354354
)
355355
where icx

0 commit comments

Comments
 (0)