Skip to content

Update hello_world_build.yml #4

Update hello_world_build.yml

Update hello_world_build.yml #4

name: "HelloWorld: Build"
on:
push:
branches: [main]
pull_request:
types: [opened, reopened]
jobs:
build-aab:
name: Build AAB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.2
- uses: bluefireteam/melos-action@v3
- run: |
dart ../../packages/flutter_distributor/bin/main.dart package \
--platform=android \
--targets aab
working-directory: examples/hello_world
build-apk:
name: Build APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.2
- uses: bluefireteam/melos-action@v3
- run: |
dart ../../packages/flutter_distributor/bin/main.dart package \
--platform=android \
--targets apk
working-directory: examples/hello_world