Skip to content

Commit d314673

Browse files
committed
CI: Fix appending to an array
Parentheses are required to add a new element to an array, not to the first element of the array.
1 parent 8bf13f2 commit d314673

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/setup/macos/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
dir_config() {
2222
local args=() lib var="$1"; shift
2323
for lib in "$@"; do
24-
args+="--with-${lib%@*}-dir=$(brew --prefix $lib)"
24+
args+=("--with-${lib%@*}-dir=$(brew --prefix $lib)")
2525
done
2626
echo "$var=${args[*]}" >> $GITHUB_ENV
2727
}

0 commit comments

Comments
 (0)