From 344afc5a69dd396b8eaaf1329de4785e6dcd53f0 Mon Sep 17 00:00:00 2001 From: taynpg Date: Sun, 25 Jan 2026 13:30:19 +0800 Subject: [PATCH] d --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb1a918..57765a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,9 +38,8 @@ build-windows: - Write-Host "package windows start..." - cd "build/bin" # 修复1: 使用引号包裹路径,避免反斜杠被解释 - - "${QT_PATH}/bin/windeployqt.exe OneLevelXmlOpr.exe" - # 修复2: 去掉 -Recurse 参数,或者使用正确的递归方法 - - $files = Get-ChildItem -Filter "*.exe", "*.dll" + - $QT_PATH\bin\windeployqt.exe .\OneLevelXmlOpr.exe + - $files = Get-ChildItem -Recurse -Include *.exe, *.dll - Compress-Archive -Path $files -DestinationPath "$PROJECT_NAME-v$PROJECT_VERSION-win-$ARCH_TYPE.zip" artifacts: paths: