mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
[Windows] Install AZ 4.3.0 (#1137)
* Install and validate AZ 4.3.0 for Windows images * Move azureModules to toolset * Fix validation * Fix modules root location * Small fix in syntax * Fix in syntax * Fixes for default tool versions
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"imagedata_file": "C:\\imagedata.json",
|
||||
"metadata_file": "C:\\image\\metadata.txt",
|
||||
"helper_script_folder": "C:\\Program Files\\WindowsPowerShell\\Modules\\",
|
||||
"psmodules_root_folder": "C:\\Modules",
|
||||
"commit_url": "LATEST",
|
||||
"install_user": "installer",
|
||||
"install_password": null,
|
||||
@@ -550,6 +551,10 @@
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"environment_vars":[
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
|
||||
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
|
||||
],
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-AzureModules.ps1"
|
||||
]
|
||||
@@ -676,6 +681,10 @@
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"environment_vars":[
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
|
||||
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
|
||||
],
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Validate-AzureModules.ps1"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user