From e862b26db206dfaa95fa89de625c7393ddfd575a Mon Sep 17 00:00:00 2001 From: Werner Fleischer <70745309+wfleischer@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:38:21 +0100 Subject: [PATCH] .github: invoke gen-i10n.sh in build workflow --- .github/workflows/build.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c485f43..5e4c1f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,7 @@ jobs: - run: flutter --version - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter build apk - run: flutter build appbundle @@ -54,7 +55,9 @@ jobs: channel: 'stable' architecture: x64 + - run: flutter --version - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter build ios --release --no-codesign - uses: actions/upload-artifact@v3 @@ -71,9 +74,16 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' + - run: flutter --version - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter build web + - uses: actions/upload-artifact@v3 + with: + name: web + path: build/web + build-windows: name: Build Windows runs-on: windows-latest @@ -83,8 +93,18 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' + - run: flutter --version + - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter config --enable-windows-desktop - run: flutter build windows + - run: cd build/windows + - run: dir /s + + - uses: actions/upload-artifact@v3 + with: + name: Windows + path: build/windows build-linux: name: Build Linux @@ -99,8 +119,17 @@ jobs: - run: | sudo apt-get update -y sudo apt-get install -y ninja-build libgtk-3-dev + - run: flutter --version + - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter config --enable-linux-desktop - run: flutter build linux + - run: ls -r build/linux + + - uses: actions/upload-artifact@v3 + with: + name: Linux + path: build/linux build-macos: name: Build macOS @@ -113,5 +142,14 @@ jobs: channel: 'stable' architecture: x64 + - run: flutter --version + - run: flutter pub get + - run: ./gen-i10n.sh - run: flutter config --enable-macos-desktop - run: flutter build macos + - run: ls -r build/macos + + - uses: actions/upload-artifact@v3 + with: + name: iOS + path: build/macos