mirror of
https://github.com/actions/runner-images.git
synced 2026-01-03 16:49:11 +08:00
[Windows] Implement installation helpers refactoring (#8865)
* [Windows] Refactor base Installer helper functions * Fix helper name * Fix name gen logic and improve error handling * Fix hash checking logic * Fix Install-VsixExtension invocation * Fix variable name in Install-OpenSSL.ps1 * Fix type for git downloadUrl
This commit is contained in:
committed by
GitHub
parent
46f21c4413
commit
d3e630f774
@@ -3,10 +3,10 @@
|
||||
## Desc: Install Mercurial
|
||||
################################################################################
|
||||
|
||||
Choco-Install -PackageName hg -ArgumentList "--version", "5.0.0"
|
||||
Install-ChocoPackage hg -ArgumentList "--version", "5.0.0"
|
||||
|
||||
$hgPath = "${env:ProgramFiles}\Mercurial\"
|
||||
Add-MachinePathItem $hgPath
|
||||
$env:Path = Get-MachinePath
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "Mercurial"
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "Mercurial"
|
||||
|
||||
Reference in New Issue
Block a user