File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,26 @@ jobs:
44
44
- name : Git Submodules
45
45
run : git submodule update --init
46
46
47
+ # Some Dart packages require Flutter to be available, for example `amplify_core`
48
+ # requires it for its `doc` package. Running this before "Setup Dart" means that
49
+ # the `dart` executable in PATH will always be the one setup by "Setup Dart".
50
+ #
51
+ # TODO(dnys1): Create mapping of Flutter->Dart versions so we can just use Dart
52
+ # vended by Flutter.
53
+ - name : Setup Flutter
54
+ uses : subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d # 2.8.0
55
+ with :
56
+ cache : true
57
+ channel : stable
58
+
47
59
- name : Setup Dart
48
60
uses : dart-lang/setup-dart@007c7cbb377cdbdf8922e2f8c4172dc60fbaaf9a # main
49
61
with :
50
62
sdk : ${{ matrix.sdk }}
51
63
64
+ - name : Dart Version
65
+ run : dart --version
66
+
52
67
- name : Setup aft
53
68
shell : bash # Run in bash regardless of platform
54
69
run : |
You can’t perform that action at this time.
0 commit comments