subosito/Set up Flutter
Setup your runner with Flutter environment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| channel | The Flutter build release channel | no | stable |
| flutter-version | The Flutter version to make available on the path | no | "" |
| flutter-version-file | The pubspec.yaml or FVM config file with exact Flutter version defined | no | "" |
| architecture | The architecture of Flutter SDK executable (x64 or arm64) | no | ${{ runner.arch }} |
| cache | Cache the Flutter SDK | no | false |
| cache-key | Identifier for the Flutter SDK cache | no | "" |
| cache-path | Flutter SDK cache path | no | "" |
| pub-cache | Cache the Dart pub dependencies | no | "" |
| pub-cache-key | Identifier for the Dart .pub-cache cache | no | "" |
| pub-cache-path | Flutter pub cache path | no | default |
| dry-run | If true, get outputs but do not install Flutter | no | false |
| git-source | Git clone source | no | https://github.com/flutter/flutter.git |
Outputs
| name | description |
|---|---|
| CHANNEL | The selected Flutter release channel |
| VERSION | The selected Flutter version |
| ARCHITECTURE | The selected Flutter CPU architecture |
| CACHE-KEY | Key used to cache the Flutter SDK |
| CACHE-PATH | Path to Flutter SDK |
| PUB-CACHE-KEY | Key used to cache the pub dependencies |
| PUB-CACHE-PATH | Path to pub cache |
| GIT_SOURCE | Git source of Flutter SDK repository to clone |
| CACHE-HIT | `true` if the flutter cache was a hit |
| PUB-CACHE-HIT | `true` if the pub cache was a hit |