mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Testing Az new module installation script (#11972)
This commit is contained in:
committed by
GitHub
parent
fd1af56b4f
commit
31d8e4e4d8
@@ -23,6 +23,7 @@ foreach ($module in $modules) {
|
||||
foreach ($version in $module.versions) {
|
||||
$modulePath = Join-Path -Path $installPSModulePath -ChildPath "${moduleName}_${version}"
|
||||
Write-Host " - $version [$modulePath]"
|
||||
$psModuleMachinePath += "$modulePath;"
|
||||
Save-Module -Path $modulePath -Name $moduleName -RequiredVersion $version -Force -ErrorAction Stop
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user