Skip to content

Commit 51e52e3

Browse files
committed
github workflow updates
1 parent 5359804 commit 51e52e3

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/build-desktop.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,20 @@ jobs:
5656
codesign --force --deep --options runtime --sign "$IDENTITY" dist/Petey.app
5757
5858
- name: Create DMG
59-
run: hdiutil create -volname "Petey" -srcfolder dist/Petey.app -ov -format UDZO dist/Petey-macOS.dmg
59+
run: |
60+
brew install create-dmg
61+
create-dmg \
62+
--volname "Petey" \
63+
--volicon "desktop/Petey.icns" \
64+
--background "desktop/dmg-background.png" \
65+
--window-size 660 400 \
66+
--icon "Petey.app" 150 185 \
67+
--app-drop-link 510 185 \
68+
--icon-size 100 \
69+
--hide-extension "Petey.app" \
70+
--no-internet-enable \
71+
"dist/Petey-macOS.dmg" \
72+
"dist/Petey.app"
6073
6174
- name: Sign DMG
6275
env:

.github/workflows/publish-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
uses: peter-evans/dockerhub-description@v4
4646
with:
4747
username: afriedman412
48-
password: ${{ secrets.DOCKERHUB_TOKEN }}
48+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4949
repository: afriedman412/petey
5050
readme-filepath: ./README.md

0 commit comments

Comments
 (0)