diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-07-02 12:37:08 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-07-02 12:37:08 +0900 |
| commit | d31467311573b39bd07e182f863a26069f21d481 (patch) | |
| tree | 15d3d78f10d9bdc82793fbeef21d3dcb7acb1c86 | |
| parent | 8bf13f26055d1c4eb7989b5ed846727d89da8220 (diff) | |
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.
| -rw-r--r-- | .github/actions/setup/macos/action.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/setup/macos/action.yml b/.github/actions/setup/macos/action.yml index 5da7c6d44c..d0072ff828 100644 --- a/.github/actions/setup/macos/action.yml +++ b/.github/actions/setup/macos/action.yml @@ -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 } |
