Skip to content

Commit

Permalink
add poetry install
Browse files Browse the repository at this point in the history
  • Loading branch information
lwj-st committed Sep 23, 2024
1 parent 5602df6 commit 4c8bba9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/poetry_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:

# 复制 poetry.lock 文件到根目录
- name: Copy poetry.lock to root directory
run: cp LazyLLM-Env/poetry.lock .
run: |
if [ ${{ runner.os }} == 'Windows' ]; then Copy-Item LazyLLM-Env/poetry.lock .; else cp LazyLLM-Env/poetry.lock .; fi
# 设置 Python 版本
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -52,12 +53,15 @@ jobs:
- name: Build project with Poetry
run: |
poetry build
continue-on-error: true

# 查看构建文件
- name: List dist directory
run: ls dist
continue-on-error: true

# 安装生成的 wheel 文件
- name: Install the built package
run: |
pip install dist/lazyllm*.whl
pip install dist/lazyllm*.whl
continue-on-error: true

0 comments on commit 4c8bba9

Please sign in to comment.