From a5a78f21cd72c97c7c6bd23c77fe393ddedf41f4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 2 May 2022 10:16:34 +1000 Subject: [PATCH] Collect translation files as part of CI --- .github/workflows/android.yaml | 4 ++++ .github/workflows/ios.yaml | 4 ++++ .github/workflows/lint.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 32aed76d..d88e094b 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -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 diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index 202c684b..8f428caf 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a9d3fe78..b199b271 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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