File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,12 @@ jobs:
2828 python-version : ' 3.8'
2929 - name : Install dependencies
3030 run : |
31- python3 -m pip install --upgrade build
32- python3 -m pip install --user --upgrade twine
33- - name : Build and Publish package
34- env :
35- TWINE_USERNAME : __token__
36- TWINE_PASSWORD : ${{ secrets.MY_PYPI_TEST_API_TOKEN }}
37- run : |
38- python3 -m build
39- python3 -m twine upload --repository testpypi dist/*
40-
31+ python -m pip install --upgrade pip
32+ pip install build
33+ - name : Build package
34+ run : python -m build
35+ - name : Publish package
36+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+ with :
38+ user : __token__
39+ password : ${{ secrets.MY_PYPI_TEST_API_TOKEN }}
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "xia_pypi" ,
8- version = "0.0.1 " ,
8+ version = "0.0.2 " ,
99 author = "xia" ,
1010 author_email = "xiazheng1996@126.com" ,
1111 description = "xia pypi" ,
You can’t perform that action at this time.
0 commit comments