add workflow to build and release wheel (#775)

### What this PR does / why we need it?

This is a continuing work of #716.
This PR add workflow to build and release wheel, and also release source
to PYPI.
We have 3 conditions to trigger the workflow:

1. PR to `main` and `*-dev`
2. push to `main` and `*-dev`
3. push tag with name of `v*`

Release to PYPI will only be done under condition 3. Under condition 1
and 2, it will generate .tar.gz and build .whl, upload to github
artifacts but will not release.

update:
Will build .whl and upload to github artifacts with scheduled task.


### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
All triggered conditions are well tested with my fork repo.

---------

Signed-off-by: Shuqiao Li <celestialli@outlook.com>
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
Co-authored-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
Shuqiao LiandYikun Jiang authored and GitHub committed 2025-05-26 14:18:26 +08:00
1 parent a0c3e9ba50
commit 01e3d59eae
6 files changed
+233 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
# This file is a part of the vllm-ascend project.
# Adapted from https://github.com/vllm-project/vllm/tree/main/tools
#
export SHELLCHECK_OPTS="--exclude=SC2046,SC2006"
export SHELLCHECK_OPTS="--exclude=SC2046,SC2006,SC2086"
if command -v actionlint &> /dev/null; then
actionlint .github/workflows/*.yml .github/workflows/*.yaml