diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55575add..4ea0df36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: ./init.ps1 -UpgradePrerequisites dotnet --info if ($env:RUNNER_OS -eq "Windows") { - choco install procdump + choco install procdump -y Write-Host "##[set-env name=PROCDUMP_PATH;]$env:PROGRAMDATA\chocolatey\bin\" } shell: pwsh diff --git a/azure-pipelines/install-dependencies.yml b/azure-pipelines/install-dependencies.yml index ec9c3f56..d4804866 100644 --- a/azure-pipelines/install-dependencies.yml +++ b/azure-pipelines/install-dependencies.yml @@ -10,7 +10,7 @@ steps: # The procdump tool and env var is required for dotnet test to collect hang/crash dumps of tests. - powershell: | - choco install procdump + choco install procdump -y Write-Host "##vso[task.setvariable variable=PROCDUMP_PATH;]$env:ProgramData\chocolatey\bin\" displayName: Install procdump condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))