Skip to content

Commit

Permalink
Merge pull request #48 from AArnott/fix47
Browse files Browse the repository at this point in the history
Add -y switch to choco install
  • Loading branch information
AArnott authored Apr 10, 2020
2 parents 9c3b3fe + acda37b commit 1febe78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/install-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 1febe78

Please sign in to comment.