mirror of
https://github.com/actions/runner-images.git
synced 2026-01-08 11:30:49 +08:00
[Windows] Add the list of installed PowerShell modules to documentation (#1266)
* documenation about powershell modules * add powershell modules documenation * add PSMODULES_ROOT_FOLDER
This commit is contained in:
committed by
GitHub
parent
544204ec06
commit
00463a8fab
@@ -117,9 +117,12 @@
|
||||
{
|
||||
"type": "powershell",
|
||||
"environment_vars": [
|
||||
"ImageVersion={{user `image_version`}}"
|
||||
"ImageVersion={{user `image_version`}}",
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}",
|
||||
"PSMODULES_ROOT_FOLDER={{user `psmodules_root_folder`}}"
|
||||
],
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-PowerShellModules.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Windows2016/Initialize-VM.ps1"
|
||||
],
|
||||
"execution_policy": "unrestricted"
|
||||
@@ -716,6 +719,9 @@
|
||||
"type": "powershell",
|
||||
"inline": [
|
||||
"pwsh -File '{{user `image_folder`}}\\SoftwareReport\\SoftwareReport.Generator.ps1'"
|
||||
],
|
||||
"environment_vars":[
|
||||
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user