|
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 |
| - |
6 | 1 | ## About
|
7 | 2 |
|
8 | 3 | 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
|
72 | 67 | - uses: flutter-actions/setup-pubdev-credentials@v1
|
73 | 68 | ```
|
74 | 69 |
|
| 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 | + |
75 | 87 | ## Troubleshooting
|
76 | 88 |
|
77 | 89 | ### Apple Silicon
|
@@ -101,3 +113,10 @@ curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SET
|
101 | 113 | # License
|
102 | 114 |
|
103 | 115 | 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