mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
[ubuntu] fix sporadic build fails (#2091)
* fix apt-get update * Improve diagnostic * handle "IPC connect call failed" * Handle not-existing tool * final refactoring * remove todo * remove which
This commit is contained in:
@@ -61,6 +61,11 @@
|
||||
],
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "{{template_dir}}/scripts/base/apt-mock.sh",
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"scripts": [
|
||||
@@ -76,11 +81,6 @@
|
||||
],
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "{{template_dir}}/scripts/base/apt-mock.sh",
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "{{template_dir}}/scripts/base/limits.sh",
|
||||
|
||||
Reference in New Issue
Block a user