mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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.
This commit is contained in:
parent
8bf13f2605
commit
d314673115
1 changed files with 1 additions and 1 deletions
2
.github/actions/setup/macos/action.yml
vendored
2
.github/actions/setup/macos/action.yml
vendored
|
@ -21,7 +21,7 @@ runs:
|
|||
dir_config() {
|
||||
local args=() lib var="$1"; shift
|
||||
for lib in "$@"; do
|
||||
args+="--with-${lib%@*}-dir=$(brew --prefix $lib)"
|
||||
args+=("--with-${lib%@*}-dir=$(brew --prefix $lib)")
|
||||
done
|
||||
echo "$var=${args[*]}" >> $GITHUB_ENV
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue