chore: merge main into v8 branch #3249
Workflow file for this run
This file contains 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
name: min version test | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
paths: | |
- "!**/*.md" | |
- "!**/class-diagram.svg" | |
- ".github/workflows/min_version_test.yml" | |
- "dart/**" | |
- "flutter/**" | |
- "min_version_test/**" | |
jobs: | |
cancel-previous-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected] | |
with: | |
access_token: ${{ github.token }} | |
build-android: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "adopt" | |
java-version: "11" | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # [email protected] | |
with: | |
flutter-version: "3.0.0" | |
- name: Build Android | |
run: | | |
cd min_version_test | |
flutter pub get | |
flutter build appbundle | |
build-ios: | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # [email protected] | |
with: | |
flutter-version: "3.0.0" | |
- name: Build iOS | |
run: | | |
cd min_version_test | |
flutter pub get | |
flutter build ios --no-codesign | |
build-web: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # [email protected] | |
with: | |
flutter-version: "3.0.0" | |
- name: Build web | |
run: | | |
cd min_version_test | |
flutter pub get | |
flutter build web --source-maps |