diff --git a/README.md b/README.md index eca4d45..a4ef470 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ macOS. The following sections show how to configure this action. -## Flutter version +## Specifying Flutter version Use specific version and channel: @@ -21,7 +21,8 @@ steps: - run: flutter --version ``` -Use version from pubspec.yaml: +Use version from pubspec.yaml (inspired by +[`actions/setup-go`](https://github.com/actions/setup-go)): ```yaml steps: @@ -35,9 +36,8 @@ steps: - run: flutter --version ``` -> [!IMPORTANT] -> For `flutter-version-file` to work, you need to have the exact Flutter version -> defined in your pubspec.yaml: +> [!IMPORTANT] For `flutter-version-file` to work, you need to have the exact +> Flutter version defined in your pubspec.yaml: > > **Good** > @@ -55,7 +55,9 @@ steps: > flutter: ">= 3.19.0 <4.0.0" > ``` -Use latest release for particular channel: +> [!WARNING] +> Using `flutter-version-file` requires [`yq`][https://github.com/mikefarah/yq], +> which is not pre-installed in `windows` images. Install it yourself. ```yaml steps: