Skip to content

Commit

Permalink
Added dmg for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
K3vinb5 committed Apr 22, 2024
1 parent 86cd7f5 commit 65b2d65
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
with:
channel: 'stable'
flutter-version: '3.19.5'
- name: Install dependencies
run: pip install dmgbuild
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
Expand All @@ -120,9 +122,17 @@ jobs:
type: 'zip'
filename: Unyo-${{github.ref_name}}-macos.zip
directory: build/macos/Build/Products/Release
- name: macOS Release
- name: macOS Archive Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/macos/Build/Products/Release/Unyo-${{github.ref_name}}-macos.zip
- name: Build Dmg
run: dart run dmg
- name: macOS Dmg Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/macos/Build/Products/Release/unyo.dmg
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.0.3"
dmg:
dependency: "direct dev"
description:
name: dmg
sha256: "3cec333d6508467b802235760a1f2128184169a4a6c055b53fce4a9e1d0ac626"
url: "https://pub.dev"
source: hosted
version: "0.0.5"
event_bus:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ dev_dependencies:
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^3.0.0
dmg: ^0.0.5

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit 65b2d65

Please sign in to comment.