mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Collect translation files as part of CI
This commit is contained in:
parent
245f18be6e
commit
a5a78f21cd
3 changed files with 12 additions and 0 deletions
4
.github/workflows/android.yaml
vendored
4
.github/workflows/android.yaml
vendored
|
|
@ -32,6 +32,10 @@ jobs:
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
gradle-version: 6.1.1
|
gradle-version: 6.1.1
|
||||||
|
- name: Collect Translations
|
||||||
|
run: |
|
||||||
|
cd lib/l10n
|
||||||
|
python3 collect_translations.py
|
||||||
- name: Build for Android
|
- name: Build for Android
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
|
||||||
4
.github/workflows/ios.yaml
vendored
4
.github/workflows/ios.yaml
vendored
|
|
@ -28,6 +28,10 @@ jobs:
|
||||||
uses: subosito/flutter-action@v1
|
uses: subosito/flutter-action@v1
|
||||||
with:
|
with:
|
||||||
flutter-version: '2.10.3'
|
flutter-version: '2.10.3'
|
||||||
|
- name: Collect Translations
|
||||||
|
run: |
|
||||||
|
cd lib/l10n
|
||||||
|
python3 collect_translations.py
|
||||||
- name: Build for iOS
|
- name: Build for iOS
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
|
||||||
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
|
|
@ -31,6 +31,10 @@ jobs:
|
||||||
uses: subosito/flutter-action@v1
|
uses: subosito/flutter-action@v1
|
||||||
with:
|
with:
|
||||||
flutter-version: '2.10.3'
|
flutter-version: '2.10.3'
|
||||||
|
- name: Collect Translations
|
||||||
|
run: |
|
||||||
|
cd lib/l10n
|
||||||
|
python3 collect_translations.py
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: cp lib/dummy_dsn.dart lib/dsn.dart
|
- run: cp lib/dummy_dsn.dart lib/dsn.dart
|
||||||
- run: flutter analyze
|
- run: flutter analyze
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue