File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,18 @@ name: Publish Python Package
22
33on :
44 workflow_dispatch :
5- release :
6- types :
7- - created
5+ push :
6+ tags :
7+ - " * "
88
99jobs :
1010 publish :
1111 runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ url : https://pypi.org/p/open-text-embeddings
15+ permissions :
16+ id-token : write
1217 steps :
1318 - name : Checkout code
1419 uses : actions/checkout@v4
@@ -21,13 +26,11 @@ jobs:
2126 - name : Install Python dependencies
2227 run : |
2328 python -m pip install --upgrade pip
24- pip install setuptools scikit-build
29+ pip install setuptools
2530
2631 - name : Build source distribution
2732 run : |
2833 python setup.py sdist
2934
3035 - name : Publish distribution to PyPI
3136 uses : pypa/gh-action-pypi-publish@release/v1
32- with :
33- password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments