Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 06:00 UTC
fix(release): retry the fresh install while the registry catches up
jkomyno committed
Nov 5, 2026 at 19:53 UTC
17a9d7efd9a814017e636b80230dfa79b851bcd0
1 file changed
+8
-2
.github/workflows/sdk.release.yml
+8
-2
@@ -292,8 +292,14 @@ jobs:
292
run: |
293
cd "$(mktemp -d)"
294
npm init --yes > /dev/null
295
- # shellcheck disable=SC2086 # one argument per package
296
- npm install --ignore-scripts --registry=https://registry.npmjs.org $SPECS
295
+ # The registry CDN can serve a stale package document right after publishing.
296
+ for attempt in 1 2 3 4 5; do
297
+ # shellcheck disable=SC2086 # one argument per package
298
+ npm install --ignore-scripts --registry=https://registry.npmjs.org $SPECS && break
299
+ [ "$attempt" -lt 5 ] || exit 1
300
+ echo "npm install failed (attempt $attempt); retrying in 30 seconds"
301
+ sleep 30
302
+ done
303
npm audit signatures
304
305
publish-pypi: