Skip to content

Commit dc44652

Browse files
committed
ci: release mac package as dmg
1 parent 9f235e2 commit dc44652

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Zip artifact (MacOS)
9090
if: ${{ matrix.runner == 'macos-latest' }}
9191
shell: bash
92-
run: tar -C "$(dirname "${{ matrix.artifact }}")" -czf "ppm-${{ matrix.target }}-${VERSION_NUM}.tar.gz" "$(basename "${{ matrix.artifact }}")"
92+
run: brew install create-dmg && create-dmg --icon "$(basename ${{ matrix.artifact }})" 200 190 --app-drop-link 600 185 --volname "PastPaperMaster" "ppm-${{ matrix.target }}-${VERSION_NUM}.dmg" ${{ matrix.artifact }}
9393

9494
- name: Upload artifact
9595
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)