添加自动发布到pypi的github action
This commit is contained in:
1 parent
26d7b36e50
commit
1437f3d7fc
2 files changed
+3
-1
No files matched your search
@@ -33,7 +33,8 @@ jobs:
|
|||||||
pip install .
|
pip install .
|
||||||
|
|
||||||
- name: Build package # 构建包
|
- name: Build package # 构建包
|
||||||
run: python setup.py sdist bdist_wheel # 构建 wheel 和 sdist 包
|
run: |
|
||||||
|
python setup.py sdist bdist_wheel # 构建 wheel 和 sdist 包
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1 # 使用 PyPA 的 action
|
uses: pypa/gh-action-pypi-publish@release/v1 # 使用 PyPA 的 action
|
||||||
|
|||||||
Reference in new issue
Block a user