mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
Update build file and workflow (#1551)
* update build file * update setup file * update fairseq dep * fix error log
This commit is contained in:
1
.github/workflows/daily_regression.yaml
vendored
1
.github/workflows/daily_regression.yaml
vendored
@@ -32,7 +32,6 @@ jobs:
|
||||
|
||||
- name: Fetch LFS objects
|
||||
run: |
|
||||
git lfs install --local --force
|
||||
git lfs pull
|
||||
|
||||
- name: Run unittest
|
||||
|
||||
3
.github/workflows/publish.yaml
vendored
3
.github/workflows/publish.yaml
vendored
@@ -24,8 +24,7 @@ jobs:
|
||||
- name: Build ModelScope
|
||||
# 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
|
||||
make whl
|
||||
- name: Publish package to PyPI
|
||||
run: |
|
||||
pip install twine
|
||||
|
||||
Reference in New Issue
Block a user