Skip to content

Commit 86711dd

Browse files
committed
修复构建错误 打包 pi win
1 parent 1c44926 commit 86711dd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-unified.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
contains(github.event.head_commit.message, 'win'))) &&
199199
(github.event_name != 'push' ||
200200
!startsWith(github.ref, 'refs/tags/v') ||
201-
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-'))) &&
201+
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-')))
202202
run: |
203203
echo "开始 Windows PyInstaller 构建流程..."
204204
echo "使用uv进行依赖同步..."
@@ -222,7 +222,7 @@ jobs:
222222
contains(github.event.head_commit.message, 'win'))) &&
223223
(github.event_name != 'push' ||
224224
!startsWith(github.ref, 'refs/tags/v') ||
225-
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-'))) &&
225+
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-')))
226226
run: |
227227
echo "开始 Windows Nuitka 构建流程..."
228228
echo "使用uv进行依赖同步..."
@@ -246,7 +246,7 @@ jobs:
246246
contains(github.event.head_commit.message, 'linux'))) &&
247247
(github.event_name != 'push' ||
248248
!startsWith(github.ref, 'refs/tags/v') ||
249-
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-'))) &&
249+
(startsWith(github.ref_name, 'v') && contains(github.ref_name, '.') && !contains(github.ref_name, '-')))
250250
run: |
251251
echo "开始 Linux 构建流程..."
252252
echo "使用uv进行依赖同步..."

build_pyinstaller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def main():
5252

5353
# 使用uv run执行PyInstaller命令
5454
cmd = [
55-
"uv", "run", "-m", "PyInstaller",
55+
"uv", "run", "-m", "PyInstaller",
5656
"Secrandom.spec",
57-
"--clean",
57+
"--clean",
5858
"--noconfirm"
5959
]
6060

0 commit comments

Comments
 (0)