Elffuss BraidHub

kikocis/GraphRAG-SDK public

switch back to original pypi publish action
Changesetb6ff0beb7359abf3a849f1d3c216bdc2b4b142c5310c99487829c86addced4c3
AuthorRoi Lipman <roilipman@gmail.com> · 2024-06-06 09:52 +03:00
CommitterRoi Lipman <roilipman@gmail.com> · 2024-06-06 09:52 +03:00
Parents2c7047a40b09

Browse the files at this changeset

1 file changed

modified .github/workflows/pypi-publish.yaml +8 −13
@@ -4,19 +4,14 @@
44 push:
55 tags:
66 - "v*.*.*"
7-
8-# .github/workflows/ci-cd.yml
97 jobs:
10- pypi-publish:
11- name: Upload release to PyPI
8+ build:
129 runs-on: ubuntu-latest
13- environment:
14- name: pypi
15- url: https://pypi.org/p/graphrag_sdk
16- permissions:
17- id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1810 steps:
19- # retrieve your distributions here
20-
21- - name: Publish package distributions to PyPI
22- uses: pypa/gh-action-pypi-publish@release/v1
11+ - uses: actions/checkout@v4
12+ - name: Build and publish to pypi
13+ uses: JRubics/poetry-publish@v2.0
14+ with:
15+ pypi_token: ${{ secrets.PYPI_API_TOKEN }}
16+ build_format: "sdist"
17+ ignore_dev_requirements: "yes"