Skip to content

Commit d5df1b6

Browse files
committed
Syntax fixes
1 parent 21f122a commit d5df1b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/ci_build/github/azure-pipelines/templates/py-win-cpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ jobs:
166166
Get-ChildItem -Path $(Build.ArtifactStagingDirectory)/*.whl | foreach {pip --disable-pip-version-check install --upgrade $_.fullname tabulate}
167167
Remove-Item -Recurse -Force onnxruntime
168168
if ("$(ExtraParam)".Split() -contains "--use_azure") {
169-
${{ if eq(parameters.ARCHITECTURE, 'arm64') }} {
169+
170+
if( "${{parameters.ARCHITECTURE}}" -eq 'arm64') {
170171
$env:path="$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\arm64-windows\bin;$env:path"
171-
} ${{ else }} {
172+
} else {
172173
$env:path="$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x64-windows\bin;$(Build.SourcesDirectory)\build\${{ parameters.cmake_build_type }}\_deps\vcpkg-src\installed\x86-windows\bin;$env:path"
173174
}
174175
python onnxruntime_test_python_azure.py

0 commit comments

Comments
 (0)