From 25696e6e6aea885e54a657118240d6c5f13cf524 Mon Sep 17 00:00:00 2001 From: InvoxiPlayGames Date: Mon, 7 Oct 2024 04:18:54 +0100 Subject: [PATCH] build dmg in actions instead of zip --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bc3278..7e09d74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,8 +30,12 @@ jobs: run: cargo build --release - name: Bundle run: cargo bundle --release + - name: Apply ad-hoc signature + run: codesign --force --deep -s - "target/release/bundle/osx/moonlight installer.app" + - name: Create DMG + run: hdiutil create -volname "Moonlight Installer" -srcfolder target/release/bundle/osx -ov -format UDZO moonlight-installer-macos.dmg - name: Upload artifact uses: actions/upload-artifact@v4 with: name: moonlight-installer-macos - path: target/release/bundle + path: moonlight-installer-macos.dmg