Skip to content

Commit

Permalink
.github: invoke gen-i10n.sh in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wfleischer committed Jan 4, 2025
1 parent 7e90a6d commit e862b26
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:

- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: flutter build apk
- run: flutter build appbundle

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit e862b26

Please sign in to comment.