We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a190e commit 26e6d05Copy full SHA for 26e6d05
scripts/device-test-utils.ps1
@@ -1,7 +1,8 @@
1
function Install-XHarness {
2
if (!(Get-Command xharness -ErrorAction SilentlyContinue))
3
{
4
- Push-Location (Test-Path env:CI ? $env:RUNNER_TEMP : $IsWindows ? $env:TMP : $IsMacos ? $env:TMPDIR : '/tmp')
+ $CI = Test-Path env:CI
5
+ Push-Location ($CI ? $env:RUNNER_TEMP : $IsWindows ? $env:TMP : $IsMacos ? $env:TMPDIR : '/tmp')
6
dotnet tool install Microsoft.DotNet.XHarness.CLI --global --version '10.0.0-prerelease.25466.1' `
7
--add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json
8
Pop-Location
0 commit comments