mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
[macos] Add path variables to packer templates (#9155)
* Update macos-12.pkr.hcl template * Update remaining macos templates * Update Get-ToolsetContent and get_toolset_value functions * Fix ~ symbol expansion issues * Fix bad path in macOS-14.arm64.anka.pkr.hcl
This commit is contained in:
committed by
GitHub
parent
2a7ca2e6a2
commit
ba2e955e0b
@@ -82,7 +82,7 @@ is_Veertu() {
|
||||
}
|
||||
|
||||
get_toolset_value() {
|
||||
local toolset_path=$(echo "$HOME/image-generation/toolset.json")
|
||||
local toolset_path=$(echo "$IMAGE_FOLDER/toolset.json")
|
||||
local query=$1
|
||||
echo "$(jq -r "$query" $toolset_path)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user