File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 9191 path : |
9292 ~/.cargo/bin/cargo-bundle
9393 ~/Library/Caches/Homebrew
94- /usr/local/Cellar/create-dmg
9594 key : ${{ runner.os }}-tools-${{ hashFiles('**/Cargo.lock', '.github/workflows/build.yml') }}
9695 restore-keys : |
9796 ${{ runner.os }}-tools-
@@ -101,8 +100,8 @@ jobs:
101100 run : cargo install cargo-bundle
102101
103102 - name : Install create-dmg
104- if : runner.os == 'macOS' && !steps.cache-tools.outputs.cache-hit
105- run : brew install create-dmg
103+ if : runner.os == 'macOS'
104+ run : npm install --global create-dmg
106105
107106 - name : Create macOS universal binary
108107 if : runner.os == 'macOS'
@@ -121,17 +120,7 @@ jobs:
121120 if : runner.os == 'macOS'
122121 run : |
123122 create-dmg \
124- --volname "Psst" \
125- --volicon "assets/logo.icns" \
126- --window-pos 200 120 \
127- --window-size 600 400 \
128- --icon-size 100 \
129- --icon "Psst.app" 150 160 \
130- --hide-extension "Psst.app" \
131- --app-drop-link 450 160 \
132- "Psst.dmg" \
133- "target/release/bundle/osx/Psst.app"
134- working-directory : psst-gui
123+ "target/release/bundle/osx/Psst.app" . || true
135124
136125 - name : Upload macOS DMG
137126 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments