File tree Expand file tree Collapse file tree 1 file changed +18
-11
lines changed
Expand file tree Collapse file tree 1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change 1- name : Publish
1+ name : Publish to PyPI
22
33on :
4- release :
5- types : [created]
64 push :
75 tags :
86 - " v*"
119 pypi-publish :
1210 name : Upload release to PyPI
1311 runs-on : ubuntu-latest
14- environment :
15- name : pypi
16- url : https://pypi.org/p/llmembed
1712 permissions :
18- id-token : write
13+ contents : read
14+
1915 steps :
20- - uses : actions/checkout@v4
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
2119 - name : Install uv
22- uses : astral-sh/setup-uv@v3
20+ uses : astral-sh/setup-uv@v5
21+ with :
22+ version : " latest"
23+
24+ - name : Set up Python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : " 3.12"
28+
2329 - name : Build package
2430 run : uv build
25- - name : Publish package distributions to PyPI
26- uses : pypa/gh-action-pypi-publish@release/v1
31+
32+ - name : Publish package
33+ run : uv publish --token ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments