zrguo
commited on
Commit
·
1b3f1a7
1
Parent(s):
e96f5e3
Delete pypi-publish.yml
Browse files
.github/workflows/pypi-publish.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
name: Publish LightRAG to PyPI
|
2 |
-
on:
|
3 |
-
release:
|
4 |
-
types: [published]
|
5 |
-
|
6 |
-
jobs:
|
7 |
-
build-and-publish:
|
8 |
-
runs-on: ubuntu-latest
|
9 |
-
steps:
|
10 |
-
- uses: actions/checkout@v4
|
11 |
-
- name: set up python
|
12 |
-
uses: actions/setup-python@v5
|
13 |
-
with:
|
14 |
-
python-version: '3.10'
|
15 |
-
|
16 |
-
- name: Install dependencies
|
17 |
-
run:
|
18 |
-
python -m pip install --upgrade pip
|
19 |
-
pip install build twine
|
20 |
-
|
21 |
-
- name: Build package
|
22 |
-
run: python -m build
|
23 |
-
|
24 |
-
- name: Publish distribution
|
25 |
-
env:
|
26 |
-
TWINE_USERNAME: __TOKEN__
|
27 |
-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
28 |
-
run: python -m twine upload dist/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|