Skip to content

Commit c60844f

Browse files
authored
Add job to publish to pypi and test-pypi for neo4j-graphrag (#126)
1 parent 31bab6d commit c60844f

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
environment:
3737
name: pypi
38-
url: https://pypi.org/p/neo4j-genai
38+
url: https://pypi.org/p/neo4j-graphrag
3939
permissions:
4040
id-token: write
4141
steps:
@@ -46,3 +46,27 @@ jobs:
4646
path: dist/
4747
- name: Publish distribution 📦 to PyPI
4848
uses: pypa/gh-action-pypi-publish@release/v1
49+
50+
publish-to-test-pypi:
51+
name: TestPyPI
52+
needs:
53+
- build
54+
runs-on: ubuntu-latest
55+
56+
environment:
57+
name: testpypi
58+
url: https://test.pypi.org/p/neo4j-graphrag
59+
60+
permissions:
61+
id-token: write
62+
63+
steps:
64+
- name: Download all the dists
65+
uses: actions/download-artifact@v4
66+
with:
67+
name: python-package-distributions
68+
path: dist/
69+
- name: Publish distribution 📦 to TestPyPI
70+
uses: pypa/gh-action-pypi-publish@release/v1
71+
with:
72+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)