File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,15 +80,29 @@ jobs:
8080 - name : Generate licenses file
8181 run : dart run dart_pubspec_licenses:generate
8282
83+ - name : Install dmg package
84+ run : flutter pub add --dev dmg
85+
86+ - name : Install dmgbuild
87+ run : pip3 install dmgbuild --break-system-packages
8388
8489 - name : Build macOS
8590 run : flutter build macos --release
8691
92+ - name : Create macOS DMG
93+ run : dart run dmg --no-sign --no-notarization --license-path "./LICENSE"
94+
8795 - name : Create macOS archive
8896 run : |
8997 cd build/macos/Build/Products/Release
9098 zip -r ../../../../../touchfish-macos.zip touchfish_client.app
9199
100+ - name : Upload macOS DMG artifact
101+ uses : actions/upload-artifact@v4
102+ with :
103+ name : macos-dmg
104+ path : build/macos/Build/Products/Release/*.dmg
105+
92106 - name : Upload macOS artifact
93107 uses : actions/upload-artifact@v4
94108 with :
You can’t perform that action at this time.
0 commit comments