Skip to content

Commit

Permalink
Update windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s12mmm3 committed Feb 5, 2024
1 parent 7fb2159 commit b8ec153
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
modules: 'qthttpserver qtwebsockets'
env:
BUILD_TYPE: Release
assume: --release
# 步骤
steps:
# 安装Qt
Expand Down Expand Up @@ -94,9 +95,9 @@ jobs:
Tree ${{ env.BUILD_TYPE }} /F
# 拷贝依赖
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\QCloudMusicApi.dll
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\Test.exe
windeployqt --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\ApiServer.exe
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\QCloudMusicApi.dll
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\Test.exe
windeployqt ${{ env.assume }} --qmldir . --no-translations --compiler-runtime ${{ env.BUILD_TYPE }}\bin\ApiServer.exe
# 打包zip
Compress-Archive -Path ${{ env.BUILD_TYPE }}\* ${env:archiveName}'.zip'
Tree ${{ env.BUILD_TYPE }} /F
Expand Down

0 comments on commit b8ec153

Please sign in to comment.