From 916f170fa2194bd65f7396435a03ec3186a90471 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Tue, 15 Sep 2020 03:31:09 +1000 Subject: [PATCH] ci: try packaging --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51bfa5644..ccae161ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,3 +79,17 @@ jobs: # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C $BUILD_TYPE + + - name: Create Package + working-directory: ${{runner.workspace}}/build + run: mkdir olive-editor && copy app\olive-editor.exe olive-editor && windeployqt olive-editor\olive-editor.exe && copy ..\bin\*.dll olive-editor + + - name: Deploy Portable + working-directory: ${{runner.workspace}}/build/olive-editor + run: copy nul olive-editor\portable && 7z a Olive-Windows-x86_64.zip olive-editor + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: Olive-Windows-x86_64.zip + path: ${{runner.workspace}}/build/Olive-Windows-x86_64.zip