mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Initialize ChocolateyToolsLocation variable and fix tests (#2874)
This commit is contained in:
@@ -132,6 +132,10 @@ if (Test-IsWin19) {
|
||||
Choco-Install -PackageName vcredist2010
|
||||
}
|
||||
|
||||
# Initialize environmental variable ChocolateyToolsLocation by invoking choco Get-ToolsLocation function
|
||||
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force
|
||||
Get-ToolsLocation
|
||||
|
||||
# Expand disk size of OS drive
|
||||
$driveLetter = "C"
|
||||
$size = Get-PartitionSupportedSize -DriveLetter $driveLetter
|
||||
|
||||
Reference in New Issue
Block a user