Skip to content

Commit cfd9402

Browse files
committed
add deploy step
1 parent eca9d4f commit cfd9402

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/review_win.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,21 @@ jobs:
5555
cmake -S . -B build "-DFFMPEG_ROOT_PATH=../ffmpeg/ffmpeg-n4.4.4-94-g5d07afd482-win64-gpl-shared-4.4" -DFFTOOL_TRANSCODER=OFF &&
5656
cmake --build build --config Release --parallel)
5757
58+
- name : Deploy project
59+
mkdir D:\deploy\OpenConverter
60+
cd D:\deploy\OpenConverter
61+
cp D:\a\OpenConverter\OpenConverter\src\build\Release\OpenConverter.exe .
62+
"D:\a\_temp\Qt\6.4.3\msvc2019_64\bin\windeployqt.exe" .\OpenConverter.exe
63+
cp D:\a\OpenConverter\OpenConverter\ffmpeg\ffmpeg-n4.4.4-…\bin\*.dll .\
64+
cd D:\deploy
65+
powershell Compress-Archive -Path OpenConverter -DestinationPath OpenConverter_win64.zip
66+
5867
# (Optional) Archive the build artifacts.
5968
- name: Upload build artifacts
6069
uses: actions/upload-artifact@v4
6170
with:
6271
name: qt-build-artifacts
63-
path: build/Release/
72+
path: D:\deploy\OpenConverter_win64.zip
6473

6574
- name: Setup tmate session
6675
if: ${{ failure() }}

0 commit comments

Comments
 (0)