Skip to content

Latest commit

Β 

History

History
67 lines (42 loc) Β· 1.99 KB

File metadata and controls

67 lines (42 loc) Β· 1.99 KB

πŸš€ Flutter Build with Caching

Easily build your Flutter project with blazing fast dependency caching! πŸ—οΈβœ¨

🚦 Quick Start

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

βš™οΈ Inputs

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

🌟 Features

  • ⚑ Caching: Dependencies are cached for faster builds.
  • πŸ› οΈ Custom Build Script: Use the script input to run any custom build command.

πŸ“ Example: Custom Build Script

steps:
  - name: Build with custom script
    uses: AcmeSoftwareLLC/flutter-build@v2
    with:
      script: flutter build ipa --release --dart-define-from-file=configs/.env.production

πŸ“š More Info

  • See action.yml for all available options.
  • Supports Android, iOS, Web, and more!
  • Maintained by AcmeSoftwareLLC.

Happy building! πŸŽ‰