mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@@ -22,7 +22,10 @@ jobs:
|
||||
- name: Install wheel
|
||||
run: pip install wheel && pip install -r requirements/framework.txt
|
||||
- name: Build ModelScope
|
||||
run: python setup.py sdist bdist_wheel
|
||||
# Build AST template before packaging
|
||||
run: |
|
||||
python -c "from modelscope.utils.ast_utils import generate_ast_template; generate_ast_template()"
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Publish package to PyPI
|
||||
run: |
|
||||
pip install twine
|
||||
|
||||
Reference in New Issue
Block a user