kikocis/GraphRAG-SDK public
| 1 | # Run this job on tagging |
| 2 | name: Release to PYPI |
| 3 | on: |
| 4 | push: |
| 5 | tags: |
| 6 | - "v*.*.*" |
| 7 | jobs: |
| 8 | build: |
| 9 | runs-on: ubuntu-latest |
| 10 | steps: |
| 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" |