Skip to content

Commit 464fb07

Browse files
committed
[cicd] upload pypi when release in linux
1 parent 62761cd commit 464fb07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pip4linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
4646
4747
- name: Upload to pypi when release
48+
if: github.event_name == 'release' && github.event.action == 'published'
4849
env:
4950
TWINE_USERNAME: __token__
5051
TWINE_PASSWORD: ${{ secrets.PYPI_PYCGRAPH_TOKEN }}

COMPILE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
---
5959

6060
### Python 版本
61-
* MacOS 和 Windows 用户可以通过命令安装(推荐)
61+
* 用户可以通过命令安装(推荐)
6262
```shell
6363
$ pip3 install PyCGraph # 直接通过 pip3 安装
6464
$ python3 -c "import PyCGraph" # 验证 PyCGraph 成功安装

0 commit comments

Comments
 (0)