File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,23 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - 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 }}
1713 - name : Set up Python
1814 uses : actions/setup-python@v5
1915 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
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 : __token__
29+ TWINE_PASSWORD : " pypi-${{ secrets.PYPI_API_TOKEN }}"
30+ run : |
31+ pipenv run python3 -m build
32+ pipenv run twine upload dist/*
You can’t perform that action at this time.
0 commit comments