File tree Expand file tree Collapse file tree 1 file changed +14
-21
lines changed Expand file tree Collapse file tree 1 file changed +14
-21
lines changed Original file line number Diff line number Diff line change 99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
13- - name : Set up Python
14- uses : actions/setup-python@v5
15- with :
16- python-version : ' 3.8'
17- cache : " pipenv"
18- - name : Check release validity
19- run : sh .github/scripts/check-release.sh
20- - name : Install pipenv
21- run : pipx install pipenv
22- - name : Install dependencies
23- run : |
24- pipenv install
25- pipenv run pip3 install build setuptools wheel twine
26- - name : Build and publish
27- env :
28- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
29- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
30- run : |
31- pipenv run python3 -m build
32- pipenv run twine upload dist/*
12+ - uses : actions/checkout@v4
13+ - name : Install Poetry
14+ run : pipx install poetry
15+ - name : Add PyPi token to Poetry
16+ run : poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
17+ - name : Set up Python
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : 3.11
21+ cache : " poetry"
22+ - name : Install Dependencies
23+ run : poetry install
24+ - name : Publish package
25+ run : poetry publish --build
You can’t perform that action at this time.
0 commit comments