Flutter Build
ActionsTags
Β (2)Easily build your Flutter project with blazing fast dependency caching! ποΈβ¨
Add this action to your workflow to build and cache your Flutter project:
steps:
- name: Build Android bundle
uses: AcmeSoftwareLLC/flutter-build@v2
with:
flutter-version: "3.19.6" # π¦ Optional: Flutter version
flutter-version-file: "example/pubspec.yaml" # π Optional: pubspec.yaml for version
working-directory: example # π Optional: defaults to .
script: flutter build appbundle --release # π οΈ Optional: custom build script| Name | Description | Required | Default |
|---|---|---|---|
| π¦ flutter-version | The Flutter version to use | false | "" |
| π flutter-version-file | pubspec.yaml file with Flutter version | false | "" |
| π working-directory | Working directory for build | false | . |
| π οΈ script | Custom build script to run | false |
- β‘ Caching: Dependencies are cached for faster builds.
- π οΈ Custom Build Script: Use the
scriptinput to run any custom build command.
steps:
- name: Build with custom script
uses: AcmeSoftwareLLC/flutter-build@v2
with:
script: flutter build ipa --release --dart-define-from-file=configs/.env.production- See
action.ymlfor all available options. - Supports Android, iOS, Web, and more!
- Maintained by AcmeSoftwareLLC.
Happy building! π
Flutter Build is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.