Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 8, 2022
1 parent a27279f commit 3f35fbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/cross_compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev php-cli cmake g++
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
fi
if [ "$RUNNER_OS" == "macOS" ]; then
brew update
brew install node
npm install -g appdmg
fi
shell: bash
- name: Mkdir build
run: mkdir build
Expand Down Expand Up @@ -78,7 +83,7 @@ jobs:
flutter config --enable-windows-desktop
flutter config --enable-android
flutter config --enable-ios
- name: set Flutter Distribute
- name: Activate Flutter Distribute
continue-on-error: true
run: dart pub global activate flutter_distributor

Expand All @@ -95,8 +100,9 @@ jobs:
if [ "$RUNNER_OS" == "Windows" ]; then
flutter build windows --release
fi
if [ "$RUNNER_OS" == "macOS" ]; then
flutter build macos --release
if [ "$RUNNER_OS" == "macOS" ]; then
flutter_distributor package --platform macos --targets dmg
mv dist/*/*.dmg ../build/
fi
shell: bash
- name: Compile Application For Android
Expand Down
2 changes: 1 addition & 1 deletion specta_app
Submodule specta_app updated 1 files
+2 −0 .gitignore

0 comments on commit 3f35fbe

Please sign in to comment.