[PERF] Use script instead of powershell to set DOTNET_ROOT (#89123)
authorParker Bibus <parkerbibus@microsoft.com>
Wed, 19 Jul 2023 17:02:22 +0000 (10:02 -0700)
committerGitHub <noreply@github.com>
Wed, 19 Jul 2023 17:02:22 +0000 (10:02 -0700)
commitcf1482c277b0fd93d037f10e5c8660d4168fd870
tree0be2c6741c9da8a42751d26e9258214837b15d7a
parent8ce3424844bbe53a3087669809c8ccd59a10a185
[PERF] Use script instead of powershell to set DOTNET_ROOT (#89123)

Use script for non-windows and powershell for windows.
Use the proper path separators for non-windows and windows.
eng/pipelines/coreclr/templates/run-scenarios-job.yml