Skip to content

Commit b8ec153

Browse files
committed
Update windows.yml
1 parent 7fb2159 commit b8ec153

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
modules: 'qthttpserver qtwebsockets'
4343
env:
4444
BUILD_TYPE: Release
45+
assume: --release
4546
# 步骤
4647
steps:
4748
# 安装Qt
@@ -94,9 +95,9 @@ jobs:
9495
Tree ${{ env.BUILD_TYPE }} /F
9596
9697
# 拷贝依赖
97-
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\QCloudMusicApi.dll
98-
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\Test.exe
99-
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\ApiServer.exe
98+
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\QCloudMusicApi.dll
99+
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\Test.exe
100+
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\ApiServer.exe
100101
# 打包zip
101102
Compress-Archive -Path ${{ env.BUILD_TYPE }}\* ${env:archiveName}'.zip'
102103
Tree ${{ env.BUILD_TYPE }} /F

0 commit comments

Comments
 (0)