[ECO-5566] chore: update Android Gradle build to support the newer Flutter SDK #396
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| ios: | |
| runs-on: "macos-latest" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: "3.24" | |
| cache: true | |
| - name: "Build example app for iOS" | |
| run: | | |
| flutter pub get | |
| cd example && flutter build ios --no-codesign | |
| android: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: "17" | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: "3.29" | |
| cache: true | |
| - name: "Build example app for Android" | |
| run: | | |
| flutter pub get | |
| cd example && flutter build apk |