mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-19 07:42:43 +00:00
Add auto-publish workflows for all packages (#861)
Co-authored-by: Vorflux AI <noreply@vorflux.com>
This commit is contained in:
parent
7b65e9a1db
commit
7d2fd5f619
6 changed files with 236 additions and 0 deletions
37
.github/workflows/publish-agent-framework-python.yml
vendored
Normal file
37
.github/workflows/publish-agent-framework-python.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: Publish Agent Framework Python
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "packages/agent-framework-python/pyproject.toml"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./packages/agent-framework-python
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install build dependencies
|
||||
run: pip install hatchling build
|
||||
|
||||
- name: Build package
|
||||
run: python -m build
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
packages-dir: packages/agent-framework-python/dist/
|
||||
Loading…
Add table
Add a link
Reference in a new issue