Skip to content

Commit

Permalink
Add pre-compile uploading to pypi for github action
Browse files Browse the repository at this point in the history
Fix readme
  • Loading branch information
xia-mc committed Dec 13, 2024
1 parent a5524d2 commit 8fad86a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov
python -m pip install -r requirements.txt
python -m pip install build twine
- name: Build
shell: bash
Expand Down Expand Up @@ -93,6 +94,9 @@ jobs:

- name: Upload to PyPI
shell: bash
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
./upload.cmd
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ If you'd like to build the project from source, follow these steps:
./build.sh
```

> **Note**: The project will be officially released on PyPI once all features are complete and thoroughly tested.

## License

This project is licensed under the **Apache License 2.0**. For more details, see the [LICENSE](LICENSE) file.
Expand Down
2 changes: 0 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ pip install PyFastUtil
./build.sh
```

> **注意**: 项目功能齐全并经过广泛测试后,将正式发布到 PyPI。

## 许可证

本项目使用 **Apache License 2.0** 进行开源。有关详细信息,请参阅 [LICENSE](LICENSE) 文件。
Expand Down

0 comments on commit 8fad86a

Please sign in to comment.