@devries-cameron20 / composio Mirror · read-only / commits / 0189d2d25
Fork 0

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 22, 23:15 UTC

fix archive creation

Rahul Tarak committed Jun 26, 2025 at 02:42 UTC 0189d2d2507ef0e623159fe83766f3f57c46603a
1 file changed +7 -5
.github/workflows/build-cli-binaries.yml
+7 -5
@@ -88,11 +88,13 @@ jobs:
88 working-directory: ts/packages/cli/dist/binaries
89 run: |
90 # Create subdirectory structure expected by install script
91 - rm -rf ${{ matrix.artifact }}
92 - mkdir -p ${{ matrix.artifact }}
93 - cp ${{ matrix.artifact }} ${{ matrix.artifact }}/composio
94 - zip -r ${{ matrix.artifact }}.zip ${{ matrix.artifact }}
95 - rm -r ${{ matrix.artifact }}
91 + # Use a temp directory name to avoid name collision with the binary file
92 + temp_dir="archive-${{ matrix.artifact }}"
93 + rm -rf "$temp_dir"
94 + mkdir -p "$temp_dir/${{ matrix.artifact }}"
95 + cp "${{ matrix.artifact }}" "$temp_dir/${{ matrix.artifact }}/composio"
96 + cd "$temp_dir" && zip -r "../${{ matrix.artifact }}.zip" "${{ matrix.artifact }}"
97 + cd .. && rm -r "$temp_dir"
98 ls -la
99
100 - name: Upload binary artifact