ci: try packaging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user