File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,6 +263,18 @@ jobs:
263263 run : |
264264 echo "开始 Windows 打包操作..."
265265
266+ # 检查构建是否成功
267+ if (!(Test-Path "dist/SecRandom")) {
268+ echo "错误:dist/SecRandom 目录不存在,构建可能失败了"
269+ echo "可用的dist目录内容:"
270+ if (Test-Path "dist") {
271+ Get-ChildItem -Path "dist" -Recurse
272+ } else {
273+ echo "dist 目录不存在"
274+ }
275+ exit 1
276+ }
277+
266278 # 创建zip_dist/SecRandom目录
267279 mkdir -p zip_dist/SecRandom
268280
@@ -296,6 +308,18 @@ jobs:
296308 run : |
297309 echo "开始 Linux 打包操作..."
298310
311+ # 检查构建是否成功
312+ if [ ! -d "dist/SecRandom" ]; then
313+ echo "错误:dist/SecRandom 目录不存在,构建可能失败了"
314+ echo "可用的dist目录内容:"
315+ if [ -d "dist" ]; then
316+ ls -la dist/
317+ else
318+ echo "dist 目录不存在"
319+ fi
320+ exit 1
321+ fi
322+
299323 # 创建zip_dist/SecRandom目录
300324 mkdir -p zip_dist/SecRandom
301325
You can’t perform that action at this time.
0 commit comments