mirror of
https://github.com/actions/runner-images.git
synced 2026-01-03 08:37:57 +08:00
fix environment variable
This commit is contained in:
@@ -299,11 +299,12 @@
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"type": "shell",
|
||||
"inline": [
|
||||
"pwsh -File '{{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1' -OutputDirectory '{{user `image_folder`}}'"
|
||||
"sudo pwsh -File {{user `image_folder`}}/SoftwareReport/SoftwareReport.Generator.ps1 -OutputDirectory {{user `image_folder`}}"
|
||||
],
|
||||
"environment_vars":[
|
||||
"IMAGE_VERSION={{user `image_version`}}",
|
||||
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}",
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user