Skip to content

Commit

Permalink
Update build_apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored Jan 28, 2024
1 parent 1f629c5 commit 316a42d
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
with:
distribution: 'zulu'
java-version: '11'
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.2.3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.7.7'
- run: flutter pub get
- run: flutter build apk
flutter-version: '3.16.9'
- name: Install packages
run: flutter pub get
- name: Generate localizations
run: flutter gen-l10n
- name: Generate configs
run: dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intnDefs.dart lib/l10n/*.arb && flutter pub run build_runner build --delete-conflicting-outputs
- name: Build APK
run: flutter build apk
- name: Build App BUndle
- run: flutter build appbundle

build_ios:
Expand All @@ -29,8 +33,12 @@ jobs:
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter pub get
- run: flutter test
- run: flutter build ios --release --no-codesign
flutter-version: '3.16.9'
- name: Install packages
run: flutter pub get
- name: Generate localizations
run: flutter gen-l10n
- name: Generate configs
run: dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intnDefs.dart lib/l10n/*.arb && flutter pub run build_runner build --delete-conflicting-outputs
- name: Build app
run: flutter build ios --release --no-codesign

0 comments on commit 316a42d

Please sign in to comment.