mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Fix] Fix deploy.yml (#1431)
This commit is contained in:
parent
be48e8b2f4
commit
bdd653a8c3
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
@ -16,8 +16,6 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install torch
|
||||
run: pip install torch
|
||||
- name: Install wheel
|
||||
run: pip install wheel
|
||||
- name: Build MMEngine
|
||||
@ -36,13 +34,12 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install torch
|
||||
run: pip install torch
|
||||
- name: Install wheel
|
||||
run: pip install wheel
|
||||
- name: Build MMEngine-lite
|
||||
run: sed -i "s/os.getenv('MMENGINE_LITE', '0')/os.getenv('MMENGINE_LITE', '1')/g" setup.py
|
||||
python setup.py sdist bdist_wheel
|
||||
run: |
|
||||
sed -i "s/os.getenv('MMENGINE_LITE', '0')/os.getenv('MMENGINE_LITE', '1')/g" setup.py
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Publish distribution to PyPI
|
||||
run: |
|
||||
pip install twine
|
||||
|
Loading…
x
Reference in New Issue
Block a user