Skip to content

Commit 73db1f7

Browse files
committed
Update inputs description and README.md
1 parent 979157d commit 73db1f7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[flutter-actions/setup-pubdev-credentials]: https://github.com/flutter-actions/setup-pubdev-credentials
2-
[Pub.dev]: https://pub.dev
31
[GitHub Action]: https://github.com/flutter-actions/setup-flutter
42
[MIT License]: https://github.com/flutter-actions/setup-flutter/blob/main/LICENSE
3+
[flutter-actions/setup-pubdev-credentials]: https://github.com/flutter-actions/setup-pubdev-credentials
4+
[Pub.dev]: https://pub.dev
55

66
## About
77

@@ -17,12 +17,12 @@ This [GitHub Action] installs and sets up of a Flutter SDK for use in actions by
1717
## Inputs
1818

1919
The action takes the following inputs:
20-
* `channel`: (Required) A release channel, which will install the latest build from that channel.
20+
* `version`: (Required) A specific Flutter SDK version to install, e.g. `latest` or `3.0.2` or `3.1.0-9.0.pre`
21+
22+
* `channel`: (Required) The Flutter SDK release channel to install.
2123
Available channels are `stable`, `beta`. See
2224
https://flutter.dev/docs/development/tools/sdk/releases for details.
2325

24-
* `version`: (Required) A specific SDK version, e.g. `latest` or `3.0.2` or `3.1.0-9.0.pre`
25-
2626
* `cache`: (Optional) Enable cache of the pub dependencies. Default: false
2727

2828
* `cache-sdk`: (Optional) Enable cache of the installed Flutter SDK. Default: false

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ inputs:
99
required: false
1010
default: "latest"
1111
channel:
12-
description: "The version to install. Default: stable"
12+
description: 'The release channel to install. Default: stable'
1313
required: false
14-
default: "stable"
14+
default: 'stable'
1515
cache:
1616
description: 'Cache the pub dependencies. Default: false'
1717
required: false

0 commit comments

Comments
 (0)