Skip to content

Commit

Permalink
Update flutter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivan22 authored Sep 5, 2024
1 parent 5e77369 commit a655e02
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ jobs:
cache: true
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
sudo apt-get install -y ninja-build libgtk-3-0 libblkid1 liblzma5
- run: flutter build linux
- name: zip the bundle
- run: zip -r otzaria-linux.zip build/linux/release/bundle
- name: Upload linux build
uses: actions/upload-artifact@v4
with:
name: otzaria-linux.zip
path: otzaria-linux.zip


build_android:
Expand All @@ -52,6 +59,11 @@ jobs:
- run: flutter test
- run: flutter build apk
- run: flutter build appbundle
- name: Upload apk
uses: actions/upload-artifact@v4
with:
name: otzaria-android.apk
path: build/app/outputs/flutter-apk/app-release.apk

build_macos:
runs-on: macos-latest
Expand All @@ -64,6 +76,13 @@ jobs:
channel: stable
cache: true
- run: flutter build macos
- name: Upload macos build
uses: actions/upload-artifact@v4
with:
name: otzaria-macos.app
path: build/macos/Build/Products/Release/otzaria.app



build_ios:
runs-on: macos-latest
Expand All @@ -78,6 +97,15 @@ jobs:
- run: flutter pub get
- run: flutter test
- run: flutter build ios --release --no-codesign
- name: Upload iphone build
uses: actions/upload-artifact@v4
with:
name: otzaria-iphone.app
path: build/ios/iphoneos/Runner.app







Expand Down

0 comments on commit a655e02

Please sign in to comment.