From d31467311573b39bd07e182f863a26069f21d481 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 2 Jul 2025 12:37:08 +0900 Subject: [PATCH] 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. --- .github/actions/setup/macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }