Skip to content

Commit 91343fa

Browse files
committed
actions: deploy qt
1 parent 889ce31 commit 91343fa

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,18 @@ jobs:
8888
- name: Build CLI
8989
run: msbuild -m -p:"Configuration=DebugCLI;Platform=x86" GhostServer.sln
9090

91+
- name: Deploy Qt
92+
shell: cmd
93+
run: |
94+
mkdir GhostServer-win
95+
copy /Y .\GhostServer.exe .\GhostServer-win\
96+
copy /Y .\GhostServer_CLI.exe .\GhostServer-win\
97+
cd GhostServer-win
98+
${{ env.QT_ROOT_DIR }}\bin\windeployqt.exe --release --no-compiler-runtime .\GhostServer.exe
99+
91100
- name: Upload Artifact
92101
uses: actions/upload-artifact@v4
93102
with:
94103
name: GhostServer-win
95-
path: |
96-
./GhostServer.exe
97-
./GhostServer_CLI.exe
104+
path: GhostServer-win
98105
if-no-files-found: error

0 commit comments

Comments
 (0)