You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will upload a Python Package to PyPI when a release is created
2
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+
# This workflow uses actions that are not certified by GitHub.
5
+
# They are provided by a third-party and are governed by
6
+
# separate terms of service, privacy policy, and support
7
+
# documentation.
8
+
9
+
name: Publish Neo4j MCP Memory Python Package
10
+
11
+
on:
12
+
release:
13
+
types: [published]
14
+
15
+
permissions:
16
+
contents: read
17
+
18
+
jobs:
19
+
release-build:
20
+
runs-on: ubuntu-latest
21
+
22
+
steps:
23
+
- uses: actions/checkout@v4
24
+
25
+
- uses: actions/setup-python@v5
26
+
with:
27
+
python-version: "3.x"
28
+
29
+
- name: Build release distributions
30
+
run: |
31
+
cd servers/mcp-neo4j-memory/
32
+
uv build
33
+
34
+
- name: Upload distributions
35
+
uses: actions/upload-artifact@v4
36
+
with:
37
+
name: release-dists
38
+
path: servers/mcp-neo4j-publish/dist/
39
+
40
+
pypi-publish:
41
+
runs-on: ubuntu-latest
42
+
needs:
43
+
- release-build
44
+
permissions:
45
+
# IMPORTANT: this permission is mandatory for trusted publishing
46
+
id-token: write
47
+
48
+
# Dedicated environments with protections for publishing are strongly recommended.
49
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
0 commit comments