diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e232a89f..f761a477 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -125,6 +125,8 @@ jobs: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release cmake --build build echo "VERSION=$(cat build/version.txt)" >> $GITHUB_ENV + cpack --config build/CPackConfig.cmake -B build/installer --verbose + mv build/installer/*.dmg build/Release - name: Upload uses: actions/upload-artifact@v4 with: diff --git a/cmake/platforms/macos.cmake b/cmake/platforms/macos.cmake index c8c18d41..a6f4ee4c 100644 --- a/cmake/platforms/macos.cmake +++ b/cmake/platforms/macos.cmake @@ -74,3 +74,5 @@ function(finish_macos_app) endif() endif() endfunction() + +set(CPACK_GENERATOR "DragNDrop")