mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[ubuntu] Fix pwsh installation for ubuntu-minimal (#9144)
This commit is contained in:
committed by
GitHub
parent
10ddf030ed
commit
a89e382279
@@ -241,7 +241,7 @@ build {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
environment_vars = ["DEBIAN_FRONTEND=noninteractive", "HELPER_SCRIPTS=${local.helper_script_folder}"]
|
environment_vars = ["DEBIAN_FRONTEND=noninteractive", "HELPER_SCRIPTS=${local.helper_script_folder}", "INSTALLER_SCRIPT_FOLDER=${local.installer_script_folder}"]
|
||||||
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||||
scripts = ["${path.root}/../scripts/build/install-powershell.sh"]
|
scripts = ["${path.root}/../scripts/build/install-powershell.sh"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user