File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,27 @@ jobs:
2323 uses : actions/setup-python@v4
2424 with :
2525 python-version : ' 3.11.x'
26-
26+
2727 # install dependencies
2828 - name : Install dependencies
2929 run : |
3030 python -m pip install --upgrade pip
3131 pip install -r requirements.txt
32-
33- # build dist files
32+
33+ # build dist files
3434 - name : Build distribution
3535 run : |
36- python3 setup.py sdist bdist_wheel
37-
38- # upload
36+ python setup.py sdist bdist_wheel
37+
38+ # install twine
39+ - name : Install twine
40+ run : |
41+ python -m pip install --upgrade twine
42+
43+ # upload
3944 - name : Upload
4045 env :
4146 TWINE_USERNAME : ${{ secrets.USERNAME }}
42- TWINE_PASSWORD : ${{ secrets.API_KEY }}
47+ TWINE_PASSWORD : ${{ secrets.API_KEY }}
48+ run : |
49+ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
You can’t perform that action at this time.
0 commit comments