Skip to content

Commit b69bddb

Browse files
committed
switch back to original pypi publish action
1 parent f5d0593 commit b69bddb

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/pypi-publish.yaml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ on:
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/[email protected]
14+
with:
15+
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
16+
build_format: "sdist"
17+
ignore_dev_requirements: "yes"

0 commit comments

Comments
 (0)