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 4, 2024
1 parent 7253f1f commit c4d3ef9
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter build windows
- run: dart run msix:create
- name: Upload windows build
Expand All @@ -22,4 +23,63 @@ jobs:
name: otzaria.msix
path: build/windows/x64/runner/release/otzaria.msix

build_linux:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter build linux

build_android:
runs-on: windows-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter build apk
- run: flutter build appbundle

build_macos:
runs-on: macos-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter build macos

build_ios:
runs-on: macos-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- run: flutter test
- run: flutter build ios --release --no-codesign





0 comments on commit c4d3ef9

Please sign in to comment.