mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 09:13:33 +08:00
[macOS] Add PowerShell version of Configure-Xcode-Simulators script (#9496)
This commit is contained in:
@@ -255,8 +255,9 @@ build {
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "source $HOME/.bash_profile; ruby {{ .Path }}"
|
||||
script = "${path.root}/../scripts/build/configure-xcode-simulators.rb"
|
||||
environment_vars = ["IMAGE_FOLDER=${local.image_folder}"]
|
||||
execute_command = "chmod +x {{ .Path }}; source $HOME/.bash_profile; {{ .Vars }} pwsh -f {{ .Path }}"
|
||||
script = "${path.root}/../scripts/build/Configure-Xcode-Simulators.ps1"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
|
||||
Reference in New Issue
Block a user