From 64739e616243d2fb55eec6aca266cf1eaaf03834 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Tue, 15 Sep 2020 13:14:01 +1000 Subject: [PATCH] ci: use cmd for portable file creation --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daf27c62d..ffa445530 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,20 +73,21 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE - - name: Create Package - working-directory: ${{runner.workspace}}/build - shell: cmd - run: mkdir olive-editor && copy app\olive-editor.exe olive-editor && windeployqt olive-editor\olive-editor.exe && copy %GITHUB_WORKSPACE%\bin\*.dll olive-editor - - name: Test working-directory: ${{runner.workspace}}/build shell: bash # 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 + shell: cmd + run: mkdir olive-editor && copy app\olive-editor.exe olive-editor && windeployqt olive-editor\olive-editor.exe && copy %GITHUB_WORKSPACE%\bin\*.dll olive-editor - name: Deploy Portable working-directory: ${{runner.workspace}}/build/olive-editor + shell: cmd run: copy nul olive-editor\portable && 7z a Olive-Windows-x86_64.zip olive-editor - name: Upload artifact