mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
test
This commit is contained in:
@@ -95,6 +95,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
|
||||||
"scripts":[
|
"scripts":[
|
||||||
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
||||||
],
|
],
|
||||||
@@ -103,8 +104,7 @@
|
|||||||
"METADATA_FILE={{user `metadata_file`}}",
|
"METADATA_FILE={{user `metadata_file`}}",
|
||||||
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
||||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||||
],
|
]
|
||||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|||||||
Reference in New Issue
Block a user