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