Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix: replace bash 4+ mapfile with POSIX-compatible shell in CI
Rahul Tarak7f1548bc1872
diff --git a/.github/workflows/cli.test-installation.yml b/.github/workflows/cli.test-installation.ymlindex f45ede0f0..b14e1bfb0 100644--- a/.github/workflows/cli.test-installation.yml+++ b/.github/workflows/cli.test-installation.yml@@ -283,31 +283,36 @@ jobs:curl --fail --silent --location --output "$tmpdir/$archive_name" "$archive_url"- mapfile -t expected_paths < <(+ expected_paths="$(unzip -Z1 "$tmpdir/$archive_name" \| grep -v '/$' \| sed "s#^composio-$target/##" \| grep -v '^composio$' \| sort- )+ )"- if [[ ${#expected_paths[@]} -eq 0 ]]; then+ if [ -z "$expected_paths" ]; thenecho "❌ No bundled support files found in $archive_name"exit 1fi- missing_paths=()- for relative_path in "${expected_paths[@]}"; do- if [[ -f "$install_dir/$relative_path" ]]; then+ missing=""+ echo "$expected_paths" | while IFS= read -r relative_path; do+ if [ -f "$install_dir/$relative_path" ]; thenecho "✅ Found $relative_path"else- missing_paths+=("$relative_path")+ echo "MISSING:$relative_path"fi- done+ done > "$tmpdir/check_output"- if [[ ${#missing_paths[@]} -gt 0 ]]; then+ cat "$tmpdir/check_output" | grep -v '^MISSING:' || true++ missing="$(grep '^MISSING:' "$tmpdir/check_output" | sed 's/^MISSING://' || true)"+ if [ -n "$missing" ]; thenprintf '❌ Missing bundled support files after install:\n' >&2- printf ' %s\n' "${missing_paths[@]}" >&2+ echo "$missing" | while IFS= read -r p; do+ printf ' %s\n' "$p" >&2+ doneexit 1fi