File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 77jobs :
88 deploy :
99 runs-on : ubuntu-latest
10+ # Add permissions needed for trusted publishing
11+ permissions :
12+ id-token : write
13+
1014 steps :
1115 - uses : actions/checkout@v4
1216 - name : Set up Python
1620 - name : Install dependencies
1721 run : |
1822 python -m pip install --upgrade pip
19- pip install build twine
20- - name : Build and publish
21- env :
22- TWINE_USERNAME : __token__
23- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
24- run : |
25- python -m build
26- twine upload dist/*
23+ pip install build
24+ # Replace twine upload with trusted publisher action
25+ - name : Build package
26+ run : python -m build
27+ - name : Publish package
28+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " inferencesh"
7- version = " 0.1.2 "
7+ version = " 0.1.4 "
88description = " inference.sh Python SDK"
99authors = [
1010 {name = " Inference Shell Inc." , email = " hello@inference.sh" },
You can’t perform that action at this time.
0 commit comments