File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -10,28 +10,28 @@ name: Upload Python Package
1010
1111on :
1212 release :
13- types : [published]
13+ types : [ published ]
1414 workflow_dispatch :
1515
1616
1717jobs :
1818 deploy :
1919 runs-on : ubuntu-latest
2020 steps :
21- - uses : actions/checkout@v4
22- - name : Set up Python
23- uses : actions/setup-python@v5
24- with :
25- python-version : ' 3.11'
26- cache-dependency-path : requirements.txt
27- - name : Install dependencies
28- run : |
29- python -m pip install --upgrade pip
30- pip install build
31- - name : Build package
32- run : python -m build
33- - name : Publish package
34- uses : pypa/gh-action-pypi-publish@v1.8.11
35- with :
36- user : __token__
37- password : ${{ secrets.PYPI_API_TOKEN }}
21+ - uses : actions/checkout@v4
22+ - name : Set up Python
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.11'
26+ cache : ' poetry '
27+
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install build
32+
33+ - name : Build package
34+ run : python -m build
35+
36+ - name : Publish package
37+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments