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(ci): accept the legacy PATH block when verifying installed shell config
jkomyno5d007da225af
diff --git a/.github/workflows/cli.test-installation.yml b/.github/workflows/cli.test-installation.ymlindex 1b6c24cff..ea955e3da 100644--- a/.github/workflows/cli.test-installation.yml+++ b/.github/workflows/cli.test-installation.yml@@ -352,8 +352,24 @@ jobs:exit 1fi+ # Every leg of this workflow installs a published release binary, never one+ # built from this checkout: releases predating the CLI-managed PATH line+ # (workflow_dispatch re-verification, workflow_call with the default+ # 'latest', promote-stable rebuilds of an older beta) still write the+ # legacy install.sh block with COMPOSIO_INSTALL_DIR, as does install.sh's+ # fallback when the binary cannot run. Accept either working layout and+ # fail only when neither PATH setup is present.if grep -Fqx 'export PATH="$HOME/.composio:$PATH"' "$config_file"; then- echo "✅ $config_file updated with the installed binary directory"+ if grep -q 'COMPOSIO_INSTALL_DIR' "$config_file"; then+ echo "❌ $config_file has the CLI-managed PATH line but still persists COMPOSIO_INSTALL_DIR"+ echo "=== $config_file contents ==="+ cat "$config_file"+ exit 1+ fi+ echo "✅ $config_file updated with the CLI-managed PATH line"+ elif grep -Fqx 'export PATH="$COMPOSIO_INSTALL_DIR:$PATH"' "$config_file" &&+ grep -Eq '^export COMPOSIO_INSTALL_DIR=' "$config_file"; then+ echo "✅ $config_file updated with the legacy install.sh PATH block"elseecho "❌ $config_file PATH not updated"echo "=== $config_file contents ==="@@ -361,13 +377,6 @@ jobs:exit 1fi- if grep -q 'COMPOSIO_INSTALL_DIR' "$config_file"; then- echo "❌ $config_file still persists COMPOSIO_INSTALL_DIR"- echo "=== $config_file contents ==="- cat "$config_file"- exit 1- fi-- name: Test custom install directoryshell: bashenv: