Skip to content

Commit f71ce8c

Browse files
committed
CPACK
1 parent dd65acc commit f71ce8c

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/cppcmake.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,14 @@ jobs:
103103
run: |
104104
export LD_LIBRARY_PATH=$Qt5_DIR/lib:$Qt6_DIR/lib:$LD_LIBRARY_PATH
105105
cd build
106-
cpack -C Release
107-
cd ..
106+
if [[ "${{ matrix.config.os }}" == "windows-latest" ]]; then
107+
cpack -C Release -G ZIP
108+
elif [[ "${{ matrix.config. os }}" == macos-* ]]; then
109+
cpack -C Release -G DragNDrop
110+
else
111+
cpack -C Release -G DEB
112+
fi
113+
cd ..
108114
cmake -E remove_directory package/_CPack_Packages
109115
110116
- name: Upload Artifacts

0 commit comments

Comments
 (0)