We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d0593 commit b69bddbCopy full SHA for b69bddb
.github/workflows/pypi-publish.yaml
@@ -4,19 +4,14 @@ on:
4
push:
5
tags:
6
- "v*.*.*"
7
-
8
-# .github/workflows/ci-cd.yml
9
jobs:
10
- pypi-publish:
11
- name: Upload release to PyPI
+ build:
12
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
18
steps:
19
- # retrieve your distributions here
20
21
- - name: Publish package distributions to PyPI
22
- uses: pypa/gh-action-pypi-publish@release/v1
+ - uses: actions/checkout@v4
+ - name: Build and publish to pypi
+ uses: JRubics/[email protected]
+ with:
+ pypi_token: ${{ secrets.PYPI_API_TOKEN }}
+ build_format: "sdist"
+ ignore_dev_requirements: "yes"
0 commit comments