添加自动发布到pypi的github action
This commit is contained in:
parent
26d7b36e50
commit
1437f3d7fc
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -33,7 +33,8 @@ jobs:
|
||||
pip install .
|
||||
|
||||
- name: Build package # 构建包
|
||||
run: python setup.py sdist bdist_wheel # 构建 wheel 和 sdist 包
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel # 构建 wheel 和 sdist 包
|
||||
|
||||
- name: Publish package
|
||||
uses: pypa/gh-action-pypi-publish@release/v1 # 使用 PyPA 的 action
|
||||
|
Loading…
Reference in New Issue
Block a user