Skip to content

Commit 52c1900

Browse files
authored
Update README.md
1 parent 73db1f7 commit 52c1900

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

README.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
[GitHub Action]: https://github.com/flutter-actions/setup-flutter
2-
[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
5-
61
## About
72

83
This [GitHub Action] installs and sets up of a Flutter SDK for use in actions by:
@@ -72,6 +67,23 @@ You can automated publishing of packages to [Pub.dev] from GitHub Actions by usi
7267
- uses: flutter-actions/setup-pubdev-credentials@v1
7368
```
7469
70+
## Automated test across multiple version of Flutter SDK
71+
72+
You can automated test across multiple version of **Flutter SDK** by using [flutter-actions/pubspec-matrix-action] action. This GitHub Action generates a matrix of **Dart** and **Flutter SDK** versions from a `pubspec.yaml` file.
73+
74+
<picture>
75+
<source srcset="https://github.com/flutter-actions/pubspec-matrix-action/blob/main/.github/assets/screenshot-dark.png" media="(prefers-color-scheme: dark)">
76+
<img src="https://github.com/flutter-actions/pubspec-matrix-action/blob/main/.github/assets/screenshot-light.png">
77+
</picture>
78+
79+
## Alternatives
80+
81+
The [GitHub Actions for Flutter SDK] team also implemented an alternative action to Setup Flutter SDK using `fvm`.
82+
See https://github.com/flutter-actions/setup-fvm for more information.
83+
84+
**See also:**
85+
- [subosito/flutter-action](https://github.com/subosito/flutter-action)
86+
7587
## Troubleshooting
7688

7789
### Apple Silicon
@@ -101,3 +113,10 @@ curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SET
101113
# License
102114

103115
Licensed under the [MIT License].
116+
117+
[MIT License]: https://github.com/flutter-actions/setup-flutter/blob/main/LICENSE
118+
[GitHub Actions for Flutter SDK]: https://github.com/flutter-actions
119+
[GitHub Action]: https://github.com/flutter-actions/setup-flutter
120+
[Pub.dev]: https://pub.dev
121+
[flutter-actions/setup-pubdev-credentials]: https://github.com/flutter-actions/setup-pubdev-credentials
122+
[flutter-actions/pubspec-matrix-action]: https://github.com/flutter-actions/pubspec-matrix-action

0 commit comments

Comments
 (0)