Skip to content

Commit

Permalink
ci: add flutterfire_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Yesterday17 committed Sep 21, 2024
1 parent 2acd76c commit 5b96479
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
with:
channel: beta
- name: Setup | Dependencies
run: flutter pub get
run: |
flutter pub get
dart pub global activate flutterfire_cli
- name: Setup | Android NDK
run: |
# /usr/include/bits
Expand Down Expand Up @@ -68,6 +70,7 @@ jobs:
rustup update
flutter config --enable-linux-desktop
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | Linux
run: |
flutter build linux --verbose
Expand Down Expand Up @@ -96,6 +99,7 @@ jobs:
rustup target add x86_64-apple-darwin aarch64-apple-darwin
rustup update
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | macOS
run: |
flutter build macos --verbose
Expand Down Expand Up @@ -125,6 +129,7 @@ jobs:
rustup update
flutter config --enable-windows-desktop
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | Windows
run: |
flutter build windows --verbose
Expand Down Expand Up @@ -156,6 +161,7 @@ jobs:
rustup target add x86_64-apple-darwin aarch64-apple-darwin
rustup update
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | iOS
run: |
flutter build ios --no-codesign --verbose --build-number ${{ github.run_number }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
with:
channel: beta
- name: Setup | Dependencies
run: flutter pub get
run: |
flutter pub get
dart pub global activate flutterfire_cli
- name: Setup | Android NDK
run: |
# /usr/include/bits
Expand Down Expand Up @@ -99,6 +101,7 @@ jobs:
rustup target add x86_64-apple-darwin aarch64-apple-darwin
rustup update
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | iOS
run: |
flutter build ios --release --verbose --build-number ${{ github.run_number }}
Expand Down Expand Up @@ -133,6 +136,7 @@ jobs:
rustup update
flutter config --enable-linux-desktop
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | Linux
run: |
flutter build linux --verbose
Expand Down Expand Up @@ -160,6 +164,7 @@ jobs:
run: |
rustup update
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | macOS
run: |
flutter build macos --verbose --build-number ${{ github.run_number }}
Expand Down Expand Up @@ -189,6 +194,7 @@ jobs:
rustup update
flutter config --enable-windows-desktop
flutter pub get
dart pub global activate flutterfire_cli
- name: Build | Windows
run: |
flutter build windows --verbose --build-number ${{ github.run_number }}
Expand Down

0 comments on commit 5b96479

Please sign in to comment.