ci: (MacOS) Build .pkg installer

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-03-23 21:55:12 +01:00
parent 483e3a5f2d
commit 4405c13901
1 changed files with 10 additions and 0 deletions

View File

@ -256,6 +256,16 @@ jobs:
mkdir build/package
cmake --build "build/temp" --config RelWithDebInfo --target PACKAGE_7Z
cmake --build "build/temp" --config RelWithDebInfo --target PACKAGE_ZIP
- name: 'Packages: Install'
shell: bash
run: |
curl -L -O http://s.sudre.free.fr/Software/files/Packages.dmg
sudo hdiutil attach ./Packages.dmg
sudo installer -pkg /Volumes/Packages\ 1.2.9/Install\ Packages.pkg -target /
- name: "Packages: Package"
shell: bash
run: |
packagesbuild ./build/temp/installer.pkgproj
- name: "Artifacts"
uses: actions/upload-artifact@v1
with: