Skip to content

Commit b23831a

Browse files
committed
v0.0.4
1 parent 542ec6b commit b23831a

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/python-publish.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff 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 }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.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",
-267 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)