diff --git a/.github/workflows/build-macos-x86.yml b/.github/workflows/build-macos-x86.yml index 7963ab2..cf41d62 100644 --- a/.github/workflows/build-macos-x86.yml +++ b/.github/workflows/build-macos-x86.yml @@ -33,8 +33,7 @@ jobs: # 步骤 5: 使用 uv 安装项目依赖 - name: Install dependencies with uv run: | - rm uv.lock - uv sync + uv sync --no-dev # 步骤 6: 安装 UPX (用于压缩可执行文件) - name: Install UPX diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 515419d..803e7b1 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -32,7 +32,7 @@ jobs: # 步骤 5: 使用 uv 安装项目依赖 - name: Install dependencies with uv - run: uv sync + run: uv sync --no-dev # 步骤 6: 安装 UPX (用于压缩可执行文件) - name: Install UPX diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c1260f6..30e07c0 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -28,7 +28,7 @@ jobs: # 第 4 步: 安装依赖 - name: Install dependencies with uv - run: uv sync + run: uv sync --no-dev # 第 5 步: 安装 UPX (简化版本) - name: Install UPX