Files
AnyImage/.github/workflows/build.yml
nan 0c8d3a8988 Bump version to 0.11.2 and update uv version to 0.11.3
- Updated version in pyproject.toml and blender_manifest.toml to 0.11.2.
- Enhanced uv executable path documentation in client.py.
- Added inference_mode parameter to reconstruct_request function in client.py.
- Implemented uv download functionality in install_env.py with improved error handling and checksum verification.
- Modified install_uv function to download and extract uv binary instead of using bundled version.
- Updated job progress handling in operators.py to track progress stages.
- Improved download progress reporting in worker.py and adjusted related tests.
- Refactored tests to accommodate changes in status reporting and model downloading.
- Removed vendor.lock.toml as part of the cleanup process.
2026-08-14 23:43:01 +08:00

39 lines
719 B
YAML

name: 构建扩展
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 检出代码
uses: actions/checkout@v6
- name: 配置 Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: pip
- name: 安装测试依赖
run: python -m pip install numpy pytest
- name: 运行测试
run: python -m pytest
- name: 构建扩展
run: python pack.py
- name: 上传扩展包
uses: actions/upload-artifact@v7
with:
name: SnapForm
path: dist/*.zip
if-no-files-found: error