diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..83e7bec --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,47 @@ +name: Manual Release of Memgraph AI toolkit packages + +on: + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11.0 + + - name: Install uv + run: python -m pip install uv + + - name: Build and release memgraph-toolbox + working-directory: memgraph-toolbox + env: + UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }} + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} + run: | + uv build + uv publish + + - name: Build and release mcp-memgraph + working-directory: integrations/mcp-memgraph + env: + UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }} + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} + run: | + uv build + uv publish + + - name: Build and release langchain-memgraph + working-directory: integrations/langchain-memgraph + env: + UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }} + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} + run: | + uv build + uv publish