@devries-cameron20 / composio-1 / commits / 517777098
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.

chore(py): update release workflow (#2830)

Musthaq Ahamad committed Mar 4, 2026 at 10:36 UTC 517777098e74049511c0f6a429a7b58767e067c3
1 file changed +8 -8
.github/workflows/py.release.yml
+8 -8
@@ -1,11 +1,12 @@
1 name: Release Python Packages
2 on:
3 - release:
4 - types: [published]
3 + push:
4 + tags:
5 + - 'py@*'
6 workflow_dispatch:
7 inputs:
8 skip_tests:
8 - description: "Skip running tests"
9 + description: 'Skip running tests'
10 required: false
11 type: boolean
12 default: false
@@ -13,7 +14,6 @@ on:
14 jobs:
15 publish-core:
16 name: Build and release SDK
16 - if: github.event_name == 'workflow_dispatch' || startsWith(github.event.release.tag_name, 'py-v')
17 defaults:
18 run:
19 working-directory: ./python
@@ -27,14 +27,14 @@ jobs:
27
28 - name: Build Artifacts
29 run: |
30 - make env
31 - make build
30 + make env
31 + make build
32
33 - name: Publish Artifacts
34 - if: github.event_name == 'release'
34 + if: github.event_name == 'push'
35 uses: pypa/gh-action-pypi-publish@release/v1
36 with:
37 packages-dir: ./python/dist
38 user: ${{ secrets.PYPI_USERNAME }}
39 password: ${{ secrets.PYPI_PASSWORD }}
40 - skip-existing: true
\ No newline at end of file
40 + skip-existing: true