Skip to content

Commit 2c52d7c

Browse files
committed
修复构建错误 打包 pi win
1 parent 297455b commit 2c52d7c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-unified.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,14 @@ jobs:
124124
- name: 验证并更新uv.lock文件
125125
run: |
126126
echo "验证uv.lock文件完整性..."
127-
if (uv lock --check); then
127+
uv lock --check
128+
if ($LASTEXITCODE -eq 0) {
128129
echo "uv.lock文件验证通过"
129-
else
130+
} else {
130131
echo "uv.lock文件需要更新,正在更新..."
131132
uv lock
132133
echo "uv.lock文件已更新"
133-
fi
134+
}
134135
135136
# 依赖缓存
136137
- name: 缓存依赖

0 commit comments

Comments
 (0)