This commit is contained in:
2026-01-25 13:38:52 +08:00
parent 97ce4a887b
commit 86f21e10a4

View File

@@ -37,11 +37,10 @@ build-windows:
- cmake --build build --config "$CMAKE_BUILD_TYPE"
- Write-Host "package windows start..."
- cd build
# 修复1: 使用引号包裹路径,避免反斜杠被解释
- Write-Host "windeployqt.exe Path is $QT_PATH/bin/windeployqt.exe"
- $QT_PATH/bin/windeployqt.exe bin/OneLevelXmlOpr.exe
- >
Get-ChildItem -Path ./bin -Recurse | \
Compress-Archive -DestinationPath "$PROJECT_NAME-v$PROJECT_VERSION-win-$ARCH_TYPE.zip"
Get-ChildItem -Path ./bin -Recurse | Compress-Archive -DestinationPath "$PROJECT_NAME-v$PROJECT_VERSION-win-$ARCH_TYPE.zip"
artifacts:
paths:
- build/$PROJECT_NAME-v$PROJECT_VERSION-win-$ARCH_TYPE.zip