Skip to content

Commit 6ebee84

Browse files
committed
chore: replace hdiutil with create-dmg for creation
1 parent 36afc60 commit 6ebee84

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
workflow_dispatch:
77
inputs:
88
uploadUrl:
9-
description: "Upload URL"
10-
required: false # Optional for testing, but the action will ultimately fail if not provided
9+
description: "Upload URL for the build output. If not provided, the action will fail."
10+
required: false
1111
type: string
1212

1313
jobs:
@@ -35,13 +35,13 @@ jobs:
3535
CODE_SIGNING_ALLOWED=NO
3636
3737
- name: Verify App Existence
38-
run: |
39-
ls -la build/Build/Products/Release/
38+
run: ls -la build/Build/Products/Release/
4039

41-
- name: Create DMG without Signing
40+
- name: Create DMG with create-dmg
4241
run: |
42+
npm install -g create-dmg
4343
mkdir -p dist
44-
hdiutil create -volname "Taskito" -srcfolder "build/Build/Products/Release/Taskito.app" -ov -format UDZO dist/Taskito.dmg -verbose
44+
create-dmg 'build/Build/Products/Release/Taskito.app' dist/Taskito.dmg --overwrite --identity=""
4545
4646
- name: Validate DMG
4747
run: hdiutil verify dist/Taskito.dmg

0 commit comments

Comments
 (0)