Add Ruby and Python to toolcache (#7529)

This commit is contained in:
Shamil Mubarakshin
2023-05-05 08:38:29 +02:00
committed by GitHub
parent 8cf8e32bb4
commit fddf50db2a
4 changed files with 95 additions and 37 deletions

View File

@@ -209,6 +209,7 @@ build {
"./provision/core/chrome.sh",
"./provision/core/edge.sh",
"./provision/core/firefox.sh",
"./provision/core/pypy.sh",
"./provision/core/bicep.sh",
"./provision/core/codeql-bundle.sh"
]
@@ -217,6 +218,13 @@ build {
]
execute_command = "chmod +x {{ .Path }}; source $HOME/.bash_profile; {{ .Vars }} {{ .Path }}"
}
provisioner "shell" {
scripts = [
"./provision/core/toolset.ps1",
"./provision/core/configure-toolset.ps1"
]
execute_command = "chmod +x {{ .Path }}; source $HOME/.bash_profile; {{ .Vars }} pwsh -f {{ .Path }}"
}
provisioner "shell" {
script = "./provision/core/delete-duplicate-sims.rb"
execute_command = "source $HOME/.bash_profile; ruby {{ .Path }}"