2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Collect translation files as part of CI

This commit is contained in:
Oliver Walters 2022-05-02 10:16:34 +10:00
parent 245f18be6e
commit a5a78f21cd
3 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,10 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.1.1
- name: Collect Translations
run: |
cd lib/l10n
python3 collect_translations.py
- name: Build for Android
run: |
flutter pub get

View File

@ -28,6 +28,10 @@ jobs:
uses: subosito/flutter-action@v1
with:
flutter-version: '2.10.3'
- name: Collect Translations
run: |
cd lib/l10n
python3 collect_translations.py
- name: Build for iOS
run: |
flutter pub get

View File

@ -31,6 +31,10 @@ jobs:
uses: subosito/flutter-action@v1
with:
flutter-version: '2.10.3'
- name: Collect Translations
run: |
cd lib/l10n
python3 collect_translations.py
- run: flutter pub get
- run: cp lib/dummy_dsn.dart lib/dsn.dart
- run: flutter analyze